C4 Engine
C4 Engine API Documentation

Renderable::SetOcclusionQuery

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

void SetOcclusionQuery(OcclusionQuery *query);

Parameters
query The pointer to an occlusion query object.
Description
The SetOcclusionQuery function attaches the occlusion query object specified by the query parameter to a renderable object. See the OcclusionQuery class for information about how occlusion queries are used.
See Also

Renderable::GetOcclusionQuery

OcclusionQuery