HDK
|
#include <RV_VKQuery.h>
Public Types | |
enum | QueryType { RV_QUERY_SIMPLE_OCCLUSION, RV_QUERY_PRECISE_OCCLUSION, RV_QUERY_TIMESTAMP, RV_QUERY_ACCEL_STRUCT_COMPACT_SIZE } |
Static Public Member Functions | |
static UT_UniquePtr< RV_VKQuery > | createQuery (RV_Instance *inst, int count, QueryType type, bool gpu_exclusive) |
Protected Member Functions | |
void | markSubmitted (int idx) |
Friends | |
class | RV_FinishQueryTask |
Definition at line 30 of file RV_VKQuery.h.
Enumerator | |
---|---|
RV_QUERY_SIMPLE_OCCLUSION | |
RV_QUERY_PRECISE_OCCLUSION | |
RV_QUERY_TIMESTAMP | |
RV_QUERY_ACCEL_STRUCT_COMPACT_SIZE |
Definition at line 33 of file RV_VKQuery.h.
RV_VKQuery::~RV_VKQuery | ( | ) |
RV_VKQuery::RV_VKQuery | ( | RV_Instance * | inst, |
int | count, | ||
VkQueryPool | pool, | ||
QueryType | type, | ||
bool | gpu_exclusive, | ||
const PassKey & | |||
) |
bool RV_VKQuery::begin | ( | RV_VKCommandBuffer * | cb, |
int | idx = 0 |
||
) |
|
static |
void RV_VKQuery::end | ( | RV_VKCommandBuffer * | cb, |
int | idx = 0 |
||
) |
int64 RV_VKQuery::getLongResult | ( | RV_Instance * | inst, |
int | idx = 0 |
||
) |
int32 RV_VKQuery::getResult | ( | RV_Instance * | inst, |
int | idx = 0 |
||
) |
|
inline |
Definition at line 49 of file RV_VKQuery.h.
|
inline |
Definition at line 47 of file RV_VKQuery.h.
|
inline |
Definition at line 101 of file RV_VKQuery.h.
|
inline |
Definition at line 48 of file RV_VKQuery.h.
|
inline |
Definition at line 94 of file RV_VKQuery.h.
bool RV_VKQuery::isResultAvailable | ( | RV_Instance * | inst, |
int | idx = 0 |
||
) |
|
inline |
Definition at line 107 of file RV_VKQuery.h.
|
inline |
Definition at line 113 of file RV_VKQuery.h.
void RV_VKQuery::reset | ( | RV_VKCommandBuffer * | cb, |
int | idx = 0 |
||
) |
void RV_VKQuery::writeAccelStructCompactSize | ( | RV_VKCommandBuffer * | cb, |
const VkAccelerationStructureKHR * | accel_struct, | ||
int | idx = 0 |
||
) |
int64 RV_VKQuery::writeLongResult | ( | RV_VKCommandBuffer * | cb, |
RV_VKBuffer * | buf, | ||
bool | wait, | ||
int | idx = 0 |
||
) |
void RV_VKQuery::writeResult | ( | RV_VKCommandBuffer * | cb, |
RV_VKBuffer * | buf, | ||
bool | wait, | ||
int | idx = 0 |
||
) |
void RV_VKQuery::writeTimestamp | ( | RV_VKCommandBuffer * | cb, |
VkPipelineStageFlagBits | stage = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT , |
||
int | idx = 0 |
||
) |
|
friend |
Definition at line 135 of file RV_VKQuery.h.