Blender V5.0
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 214 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 239 of file gpu_pass.cc.

References GPU_PASS_QUEUED, hash, and lock.

◆ get_mutex()

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

Definition at line 280 of file gpu_pass.cc.

◆ update()

void GPUPassCache::update ( )
inline

Definition at line 252 of file gpu_pass.cc.

References BLI_time_now_seconds(), and lock.


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