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

Public Attributes

struct GPUPassnext
 
GPUShadershader
 
GPUCodegenCreateInfocreate_info = nullptr
 
uint refcount
 
uint32_t hash
 
bool compiled
 

Detailed Description

Definition at line 85 of file gpu_codegen.cc.

Member Data Documentation

◆ compiled

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

◆ create_info

GPUCodegenCreateInfo* GPUPass::create_info = nullptr

◆ hash

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

◆ next

struct GPUPass* GPUPass::next

◆ refcount

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

◆ shader

GPUShader* GPUPass::shader

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