EPOK RUNTIME
epok::ChunkVisibilityQuery
Class
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.
Class
Class declared by the visibility module for frustum tests and chunk visibility.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "visibility.hpp"
// Assume these named values have been initialized with valid data:
// const ChunkVisibility * value
epok::ChunkVisibilityQuery value(value);Constructors
Public methods
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.MethodcandidatePerforms `candidate` as part of frustum tests and chunk visibility.MethodmergedPerforms `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