Blender  V3.3
Public Attributes | List of all members
GPUSelectQueryState Struct Reference

Public Attributes

bool query_issued
 
QueryPoolqueries
 
Vector< uint, QUERY_MIN_LEN > * ids
 
GPUSelectResultbuffer
 
uint buffer_len
 
eGPUSelectMode mode
 
uint index
 
int oldhits
 
int viewport [4]
 
int scissor [4]
 
eGPUWriteMask write_mask
 
eGPUDepthTest depth_test
 

Detailed Description

Definition at line 33 of file gpu_select_sample_query.cc.

Member Data Documentation

◆ buffer

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().

◆ buffer_len

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().

◆ depth_test

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().

◆ ids

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().

◆ index

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().

◆ mode

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().

◆ oldhits

int GPUSelectQueryState::oldhits

◆ queries

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().

◆ query_issued

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().

◆ scissor

int GPUSelectQueryState::scissor[4]

Definition at line 51 of file gpu_select_sample_query.cc.

Referenced by gpu_select_query_begin().

◆ viewport

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().

◆ write_mask

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().


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