Epok Engine

EPOK RUNTIME

epok::visibility_vertices

Function template · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function template

Performs `visibility vertices` as part of frustum tests and chunk visibility.

Belongs to
epok
Header
visibility_track.hpp
Overloads
1

Declaration

template
Declaration
template<class Quad> inline size_t visibility_vertices(const uint32_t* faces,const Quad* quads,size_t count,uint32_t (&vertices)[16])

Performs `visibility vertices` as part of frustum tests and chunk visibility.

ParameterTypeMeaning
facesconst uint32_t *Not documented; consult the linked header.
quadsconst Quad *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.
verticesuint32_t (&)[16]Not documented; consult the linked header.

Returns: size_t. Consult the linked header for its meaning.

Example sketch

C++ example
#include "visibility_track.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Quad

// Assume these named values have been initialized with valid data:
// const uint32_t * faces
// const Quad * quads
// size_t count
// uint32_t (&)[16] vertices

auto result = epok::visibility_vertices<Quad>(faces, quads, count, vertices);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/visibility_track.hpp:143

Related members