Blender
V3.3
|
Public Attributes | |
bool | query_issued |
QueryPool * | queries |
Vector< uint, QUERY_MIN_LEN > * | ids |
GPUSelectResult * | buffer |
uint | buffer_len |
eGPUSelectMode | mode |
uint | index |
int | oldhits |
int | viewport [4] |
int | scissor [4] |
eGPUWriteMask | write_mask |
eGPUDepthTest | depth_test |
Definition at line 33 of file gpu_select_sample_query.cc.
GPUSelectResult* GPUSelectQueryState::buffer |
Cache on initialization.
Definition at line 41 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), gpu_select_query_end(), and gpu_select_query_load_id().
uint GPUSelectQueryState::buffer_len |
The capacity of the buffer
array.
Definition at line 43 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), and gpu_select_query_end().
eGPUDepthTest GPUSelectQueryState::depth_test |
Definition at line 53 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), and gpu_select_query_end().
Vector<uint, QUERY_MIN_LEN>* GPUSelectQueryState::ids |
Array holding the id corresponding id to each query.
Definition at line 39 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), gpu_select_query_end(), and gpu_select_query_load_id().
uint GPUSelectQueryState::index |
Definition at line 46 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), and gpu_select_query_load_id().
eGPUSelectMode GPUSelectQueryState::mode |
Mode of operation.
Definition at line 45 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), gpu_select_query_end(), and gpu_select_query_load_id().
int GPUSelectQueryState::oldhits |
Definition at line 47 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), gpu_select_query_end(), and gpu_select_query_load_id().
QueryPool* GPUSelectQueryState::queries |
GPU queries abstraction. Contains an array of queries.
Definition at line 37 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), gpu_select_query_end(), and gpu_select_query_load_id().
bool GPUSelectQueryState::query_issued |
Tracks whether a query has been issued so that gpu_load_id can end the previous one.
Definition at line 35 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), gpu_select_query_end(), and gpu_select_query_load_id().
int GPUSelectQueryState::scissor[4] |
Definition at line 51 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin().
int GPUSelectQueryState::viewport[4] |
Previous state to restore after drawing.
Definition at line 50 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), and gpu_select_query_end().
eGPUWriteMask GPUSelectQueryState::write_mask |
Definition at line 52 of file gpu_select_sample_query.cc.
Referenced by gpu_select_query_begin(), and gpu_select_query_end().