Blender V4.5
GPUPassCache Class Reference

Public Member Functions

void add (eGPUMaterialEngine engine, GPUCodegen &codegen, bool deferred_compilation, bool is_optimization_pass)
GPUPassget (eGPUMaterialEngine engine, size_t hash, bool allow_deferred, bool is_optimization_pass)
void update ()
std::mutex & get_mutex ()

Detailed Description

Definition at line 212 of file gpu_pass.cc.

Member Function Documentation

◆ add()

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

◆ get()

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

Definition at line 241 of file gpu_pass.cc.

References GPU_PASS_QUEUED, hash, and lock.

◆ get_mutex()

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

Definition at line 303 of file gpu_pass.cc.

◆ update()

void GPUPassCache::update ( )
inline

Definition at line 254 of file gpu_pass.cc.

References BLI_time_now_seconds(), GPU_PASS_QUEUED, and lock.


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