HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RV_OcclusionQuery Class Reference

Occlusion query object. More...

#include <RV_Query.h>

+ Inheritance diagram for RV_OcclusionQuery:

Public Member Functions

void init (RV_Render *r)
 Initialize the query (create it) More...
 
bool begin (RV_Render *r)
 Start the query. More...
 
void end (RV_Render *r)
 End the query. More...
 

Protected Member Functions

exint sumQueries (RV_Render *r, bool wait=false)
 
 RV_OcclusionQuery (RV_OcclusionResult t, bool gpu_exclusive)
 
virtual ~RV_OcclusionQuery ()
 

Protected Attributes

UT_UniquePtr< RV_VKQuery > myQuery
 
int myCurIdx
 
int myCurResult
 
bool myIsBoolean
 
bool myIsGPUOnly
 

Detailed Description

Occlusion query object.

Definition at line 31 of file RV_Query.h.

Constructor & Destructor Documentation

RV_OcclusionQuery::RV_OcclusionQuery ( RV_OcclusionResult  t,
bool  gpu_exclusive 
)
protected
virtual RV_OcclusionQuery::~RV_OcclusionQuery ( )
protectedvirtual

Member Function Documentation

bool RV_OcclusionQuery::begin ( RV_Render r)

Start the query.

void RV_OcclusionQuery::end ( RV_Render r)

End the query.

void RV_OcclusionQuery::init ( RV_Render r)

Initialize the query (create it)

exint RV_OcclusionQuery::sumQueries ( RV_Render r,
bool  wait = false 
)
protected

Member Data Documentation

int RV_OcclusionQuery::myCurIdx
protected

Definition at line 45 of file RV_Query.h.

int RV_OcclusionQuery::myCurResult
protected

Definition at line 46 of file RV_Query.h.

bool RV_OcclusionQuery::myIsBoolean
protected

Definition at line 48 of file RV_Query.h.

bool RV_OcclusionQuery::myIsGPUOnly
protected

Definition at line 49 of file RV_Query.h.

UT_UniquePtr<RV_VKQuery> RV_OcclusionQuery::myQuery
protected

Definition at line 44 of file RV_Query.h.


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