raisin::InstancedVisuals::GpuHizOcclusionConfig
struct · #include <rayrai/Visuals.hpp>
Internal: hierarchical-Z occlusion input for the GPU culling draw() overload.
Public attributes
enabled
cpp
bool enabledUse Hi-Z occlusion culling.
depthPyramidTexture
cpp
unsigned int depthPyramidTextureGL 2D texture holding the depth pyramid (not owned).
width
cpp
int widthWidth of pyramid level 0 in pixels.
height
cpp
int heightHeight of pyramid level 0 in pixels.
mipLevels
cpp
int mipLevelsNumber of pyramid levels.
depthEpsilon
cpp
float depthEpsilonDepth tolerance for the occlusion test.