Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 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.
Performs `candidate` as part of frustum tests and chunk visibility.
bool candidate(size_t chunk) constPerforms `candidate` as part of frustum tests and chunk visibility.
| Parameter | Type | Meaning |
|---|---|---|
chunk | size_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "visibility.hpp"
// Assume these named values have been initialized with valid data:
// size_t chunk
epok::ChunkVisibilityQuery& object = /* obtain a valid instance */;
auto result = object.candidate(chunk);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/visibility.hpp:196
add_planex*local.x + y*local.y + z*local.z + d*4096 >= 0, all in Q12.Methodbasis_cache_activePerforms `basis cache active` as part of frustum tests and chunk visibility.Methodbounds_cache_activePerforms `bounds cache active` as part of frustum tests and chunk visibility.Methodcached_basis_boundsPerforms `cached basis bounds` as part of frustum tests and chunk visibility.Methodcached_boundsPerforms `cached bounds` as part of frustum tests and chunk visibility.Methodcached_insidePerforms `cached inside` as part of frustum tests and chunk visibility.MethodChunkVisibilityQueryConstructs `epok::ChunkVisibilityQuery` for frustum tests and chunk visibility.constructormergedPerforms `merged` as part of frustum tests and chunk visibility.Methodmerged_maskGenerated metadata always supplies a cache.Methodremember_basis_boundsPerforms `remember basis bounds` as part of frustum tests and chunk visibility.Methodremember_boundsPerforms `remember bounds` as part of frustum tests and chunk visibility.Methodreuse_matrixCompare the source matrix before constructing its five derived planes.Method