Blender V5.3
blender::GlobalGPUState Struct Reference

Inherits blender::blender::NonCopyable.

Public Member Functions

 GlobalGPUState ()=default
 ~GlobalGPUState ()
void reset ()
Public Member Functions inherited from blender::blender::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
NonCopyable & operator= (const NonCopyable &other)=delete
 NonCopyable ()=default
 NonCopyable (NonCopyable &&other)=default
NonCopyable & operator= (NonCopyable &&other)=default

Public Attributes

bool gpu_shader_bound = false
CurveMapping * curve_mapping = nullptr
CurveMapping * orig_curve_mapping = nullptr
bool use_curve_mapping = false
int curve_mapping_timestamp = 0

Detailed Description

Definition at line 166 of file colormanagement.cc.

Constructor & Destructor Documentation

◆ GlobalGPUState()

blender::GlobalGPUState::GlobalGPUState ( )
default

◆ ~GlobalGPUState()

blender::GlobalGPUState::~GlobalGPUState ( )
inline

Definition at line 169 of file colormanagement.cc.

References reset().

Member Function Documentation

◆ reset()

void blender::GlobalGPUState::reset ( )
inline

Member Data Documentation

◆ curve_mapping

CurveMapping* blender::GlobalGPUState::curve_mapping = nullptr

Definition at line 190 of file colormanagement.cc.

Referenced by reset(), and blender::update_glsl_curve_mapping().

◆ curve_mapping_timestamp

int blender::GlobalGPUState::curve_mapping_timestamp = 0

Definition at line 192 of file colormanagement.cc.

Referenced by reset(), and blender::update_glsl_curve_mapping().

◆ gpu_shader_bound

◆ orig_curve_mapping

CurveMapping * blender::GlobalGPUState::orig_curve_mapping = nullptr

Definition at line 190 of file colormanagement.cc.

Referenced by reset(), and blender::update_glsl_curve_mapping().

◆ use_curve_mapping

bool blender::GlobalGPUState::use_curve_mapping = false

Definition at line 191 of file colormanagement.cc.

Referenced by reset(), and blender::update_glsl_curve_mapping().


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