C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class OcclusionQuery

Defined in:  C4Renderable.h
The OcclusionQuery class represents an occlusion query operation.
Definition

class OcclusionQuery : public ListElement<OcclusionQuery>

Member Functions
OcclusionQuery::GetUnoccludedArea Returns the area that was unoccluded during the occlusion query.
Constructor

OcclusionQuery(RenderProc *proc, void *cookie);

Parameters
proc A pointer to the occlusion query's callback procedure.
cookie The cookie that is passed to the callback procedure as its last parameter.
Description


typedef void RenderProc(OcclusionQuery *, List<Renderable> *, void *);

Base Classes
ListElement<OcclusionQuery> Used internally by the Graphics Manager.
See Also

Renderable::GetOcclusionQuery

Renderable::SetOcclusionQuery