|
Blender V4.3
|
Public Attributes | |
| GPUPass * | next |
| GPUShader * | shader |
| GPUCodegenCreateInfo * | create_info = nullptr |
| uint | refcount |
| int | gc_timestamp |
| eGPUMaterialEngine | engine |
| uint32_t | hash |
| bool | compiled |
| bool | compilation_requested |
| bool | should_optimize |
| bool | cached |
| ThreadMutex | shader_creation_mutex |
| BatchHandle | async_compilation_handle |
Definition at line 90 of file gpu_codegen.cc.
| BatchHandle GPUPass::async_compilation_handle |
Definition at line 115 of file gpu_codegen.cc.
| bool GPUPass::cached |
Whether pass is in the GPUPass cache.
Definition at line 111 of file gpu_codegen.cc.
| bool GPUPass::compilation_requested |
If this pass is already being_compiled (A GPUPass can be shared by multiple GPUMaterials).
Definition at line 106 of file gpu_codegen.cc.
| bool GPUPass::compiled |
Did we already tried to compile the attached GPUShader.
Definition at line 104 of file gpu_codegen.cc.
| GPUCodegenCreateInfo* GPUPass::create_info = nullptr |
Definition at line 94 of file gpu_codegen.cc.
| eGPUMaterialEngine GPUPass::engine |
The engine type this pass is compiled for.
Definition at line 100 of file gpu_codegen.cc.
Referenced by gpu_pass_cache_resolve_collision().
| int GPUPass::gc_timestamp |
The last time the refcount was greater than 0.
Definition at line 98 of file gpu_codegen.cc.
Referenced by GPU_pass_cache_garbage_collect().
| uint32_t GPUPass::hash |
Identity hash generated from all GLSL code.
Definition at line 102 of file gpu_codegen.cc.
Referenced by GPU_generate_pass().
| GPUPass* GPUPass::next |
Definition at line 91 of file gpu_codegen.cc.
Referenced by GPU_generate_pass(), GPU_pass_cache_free(), GPU_pass_cache_garbage_collect(), and gpu_pass_cache_lookup().
| uint GPUPass::refcount |
Orphaned GPUPasses gets freed by the garbage collector.
Definition at line 96 of file gpu_codegen.cc.
Referenced by GPU_generate_pass().
| GPUShader* GPUPass::shader |
Definition at line 93 of file gpu_codegen.cc.
| ThreadMutex GPUPass::shader_creation_mutex |
Protects pass shader from being created from multiple threads at the same time.
Definition at line 113 of file gpu_codegen.cc.
| bool GPUPass::should_optimize |
Hint that an optimized variant of this pass should be created based on a complexity heuristic during pass code generation.
Definition at line 109 of file gpu_codegen.cc.