C4 Engine
C4 Engine API Documentation

OcclusionQuery::GetRenderCookie

Defined in:  C4Renderable.h
Returns the cookie stored in an occlusion query object.
Prototype

void *GetRenderCookie(voidconst;

Description
The GetRenderCookie function returns the cookie stored in an occlusion query object. The cookie is set by the constructor of the OcclusionQuery class or by the OcclusionQuery::SetRenderCallback function.
See Also

OcclusionQuery::SetRenderCallback