EPOK RUNTIME
epok::ChunkVisibilityQuery
Class
Class
Class declared by the visibility module for frustum tests and chunk visibility.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. 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.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