|
Blender
V2.93
|
#include <gpu_query.hh>
Inherited by blender::gpu::GLQueryPool.
Public Member Functions | |
| virtual | ~QueryPool () |
| virtual void | init (GPUQueryType type)=0 |
| virtual void | begin_query (void)=0 |
| virtual void | end_query (void)=0 |
| virtual void | get_occlusion_result (MutableSpan< uint32_t > r_values)=0 |
Definition at line 34 of file gpu_query.hh.
|
inlinevirtual |
Definition at line 36 of file gpu_query.hh.
|
pure virtual |
Will start and end the query at this index inside the pool. The pool will resize automatically.
Implemented in blender::gpu::GLQueryPool.
Referenced by gpu_select_query_load_id().
|
pure virtual |
Implemented in blender::gpu::GLQueryPool.
Referenced by gpu_select_query_end(), and gpu_select_query_load_id().
|
pure virtual |
Must be fed with a buffer large enough to contain all the queries issued. IMPORTANT: Result for each query can be either binary or represent the number of samples drawn.
Implemented in blender::gpu::GLQueryPool.
Referenced by gpu_select_query_end().
|
pure virtual |
Will start and end the query at this index inside the pool. The pool will resize automatically but does not support sparse allocation. So prefer using consecutive indices.
Implemented in blender::gpu::GLQueryPool.
Referenced by gpu_select_query_begin().