#include <MaskedOcclusionCulling.h>
Public Member Functions | |
VertexLayout (int stride, int offsetY, int offsetZW) | |
Used to specify custom vertex layout. Memory offsets to y and z coordinates are set through mOffsetY and mOffsetW, and vertex stride is given by mStride. It's possible to configure both AoS and SoA layouts. Note that large strides may cause more cache misses and decrease performance. It is advisable to store position data as compactly in memory as possible.