C4 Engine
C4 Engine API Documentation

Renderable::GetOcclusionQuery

Defined in:  C4Renderable.h
Returns the pointer to an occlusion query object.
Prototype

OcclusionQuery *GetOcclusionQuery(voidconst;

Description
The GetOcclusionQuery function returns a pointer to the occlusion query object attached to a renderable object. If a renderable object has no occlusion object attached to it (the default case), then the return value is nullptr.
See Also

Renderable::SetOcclusionQuery

OcclusionQuery