Blender
V3.3
|
Public Attributes | |
struct GPUPass * | next |
GPUShader * | shader |
GPUCodegenCreateInfo * | create_info = nullptr |
uint | refcount |
uint32_t | hash |
bool | compiled |
Definition at line 85 of file gpu_codegen.cc.
bool GPUPass::compiled |
Did we already tried to compile the attached GPUShader.
Definition at line 95 of file gpu_codegen.cc.
Referenced by GPU_generate_pass(), GPU_pass_compile(), and gpu_pass_is_valid().
GPUCodegenCreateInfo* GPUPass::create_info = nullptr |
Definition at line 89 of file gpu_codegen.cc.
Referenced by count_active_texture_sampler(), GPU_generate_pass(), gpu_pass_cache_resolve_collision(), GPU_pass_compile(), gpu_pass_free(), and gpu_pass_shader_validate().
uint32_t GPUPass::hash |
Identity hash generated from all GLSL code.
Definition at line 93 of file gpu_codegen.cc.
Referenced by GPU_generate_pass(), and gpu_pass_cache_resolve_collision().
struct GPUPass* GPUPass::next |
Definition at line 86 of file gpu_codegen.cc.
Referenced by GPU_generate_pass(), GPU_pass_cache_free(), GPU_pass_cache_garbage_collect(), gpu_pass_cache_insert_after(), gpu_pass_cache_lookup(), and gpu_pass_cache_resolve_collision().
uint GPUPass::refcount |
Orphaned GPUPasses gets freed by the garbage collector.
Definition at line 91 of file gpu_codegen.cc.
Referenced by GPU_generate_pass(), gpu_pass_free(), and GPU_pass_release().
GPUShader* GPUPass::shader |
Definition at line 88 of file gpu_codegen.cc.
Referenced by GPU_generate_pass(), GPU_pass_compile(), gpu_pass_free(), gpu_pass_is_valid(), and GPU_pass_shader_get().