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

#include <RV_Query.h>

+ Inheritance diagram for RV_OcclusionQueryGPU:

Public Member Functions

 RV_OcclusionQueryGPU (RV_OcclusionResult t=RV_OCCLUSION_NUM_SAMPLES)
 
 ~RV_OcclusionQueryGPU () override
 
bool getResults (RV_Render *r, RV_VKBuffer *buffer, bool wait=true)
 Read the query results into a buffer. More...
 
- Public Member Functions inherited from RV_OcclusionQuery
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...
 

Additional Inherited Members

- Protected Member Functions inherited from RV_OcclusionQuery
exint sumQueries (RV_Render *r, bool wait=false)
 
 RV_OcclusionQuery (RV_OcclusionResult t, bool gpu_exclusive)
 
virtual ~RV_OcclusionQuery ()
 
- Protected Attributes inherited from RV_OcclusionQuery
UT_UniquePtr< RV_VKQuery > myQuery
 
int myCurIdx
 
int myCurResult
 
bool myIsBoolean
 
bool myIsGPUOnly
 

Detailed Description

Query to get occlusion results on the CPU results are written to a buffer owned by the class instead of CPU memory.

Definition at line 82 of file RV_Query.h.

Constructor & Destructor Documentation

RV_OcclusionQueryGPU::RV_OcclusionQueryGPU ( RV_OcclusionResult  t = RV_OCCLUSION_NUM_SAMPLES)
RV_OcclusionQueryGPU::~RV_OcclusionQueryGPU ( )
override

Member Function Documentation

bool RV_OcclusionQueryGPU::getResults ( RV_Render r,
RV_VKBuffer buffer,
bool  wait = true 
)

Read the query results into a buffer.


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