ScummVM API documentation
hpl::iOcclusionQuery Class Referenceabstract

Public Member Functions

virtual void Begin ()=0
 
virtual void End ()=0
 
virtual bool FetchResults ()=0
 
virtual unsigned int GetSampleCount ()=0
 

Member Function Documentation

◆ Begin()

virtual void hpl::iOcclusionQuery::Begin ( )
pure virtual

Starts the query. Must be followed by an End().

◆ End()

virtual void hpl::iOcclusionQuery::End ( )
pure virtual

Ends the current query. Must have been started with a Begin()

◆ FetchResults()

virtual bool hpl::iOcclusionQuery::FetchResults ( )
pure virtual

Fetches the result of he query. Should not be done until all is rendered. (Is called internally by Renderer3D)

◆ GetSampleCount()

virtual unsigned int hpl::iOcclusionQuery::GetSampleCount ( )
pure virtual

Get the number of samples that passed stencil and depth test in the query begin/end.


The documentation for this class was generated from the following file: