Blender V4.5
GlobalGPUState Struct Reference

Public Member Functions

 GlobalGPUState ()=default
 
 ~GlobalGPUState ()
 

Public Attributes

bool gpu_shader_bound = false
 
CurveMappingcurve_mapping = nullptr
 
CurveMappingorig_curve_mapping = nullptr
 
bool use_curve_mapping = false
 
int curve_mapping_timestamp = 0
 

Detailed Description

Definition at line 108 of file colormanagement.cc.

Constructor & Destructor Documentation

◆ GlobalGPUState()

GlobalGPUState::GlobalGPUState ( )
default

◆ ~GlobalGPUState()

GlobalGPUState::~GlobalGPUState ( )
inline

Definition at line 111 of file colormanagement.cc.

References BKE_curvemapping_free(), and curve_mapping.

Member Data Documentation

◆ curve_mapping

CurveMapping* GlobalGPUState::curve_mapping = nullptr

Definition at line 122 of file colormanagement.cc.

Referenced by update_glsl_curve_mapping(), and ~GlobalGPUState().

◆ curve_mapping_timestamp

int GlobalGPUState::curve_mapping_timestamp = 0

Definition at line 124 of file colormanagement.cc.

Referenced by update_glsl_curve_mapping().

◆ gpu_shader_bound

◆ orig_curve_mapping

CurveMapping * GlobalGPUState::orig_curve_mapping = nullptr

Definition at line 122 of file colormanagement.cc.

Referenced by update_glsl_curve_mapping().

◆ use_curve_mapping

bool GlobalGPUState::use_curve_mapping = false

Definition at line 123 of file colormanagement.cc.

Referenced by update_glsl_curve_mapping().


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