Blender V5.3
blender::GPUPassCache Class Reference

Public Member Functions

 ~GPUPassCache ()
void add (eGPUMaterialEngine engine, GPUCodegen &codegen, bool deferred_compilation, bool is_optimization_pass)
GPUPass * get (eGPUMaterialEngine engine, size_t hash, bool allow_deferred, bool is_optimization_pass)
void update ()
std::mutex & get_mutex ()

Detailed Description

Definition at line 215 of file gpu_pass.cc.

Constructor & Destructor Documentation

◆ ~GPUPassCache()

blender::GPUPassCache::~GPUPassCache ( )
inline

Member Function Documentation

◆ add()

void blender::GPUPassCache::add ( eGPUMaterialEngine engine,
GPUCodegen & codegen,
bool deferred_compilation,
bool is_optimization_pass )
inline

◆ get()

GPUPass * blender::GPUPassCache::get ( eGPUMaterialEngine engine,
size_t hash,
bool allow_deferred,
bool is_optimization_pass )
inline

Definition at line 251 of file gpu_pass.cc.

References blender::GPU_PASS_QUEUED, hash, and lock.

Referenced by blender::GPU_generate_pass().

◆ get_mutex()

std::mutex & blender::GPUPassCache::get_mutex ( )
inline

Definition at line 292 of file gpu_pass.cc.

Referenced by blender::GPU_pass_ensure_its_ready().

◆ update()

void blender::GPUPassCache::update ( )
inline

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