|
Blender V5.0
|
#include <gpu_shader_binder_internal.hh>
Inherits blender::NonCopyable, and blender::NonMovable.
Public Member Functions | |
GPUDisplayShader | |
| ~GPUDisplayShader () | |
| bool | matches (const GPUDisplayParameters &display_parameters) const |
| bool | initialize_common () |
Public Attributes | |
| std::string | from_colorspace |
| std::string | view |
| std::string | display |
| std::string | look |
| bool | use_curve_mapping = false |
| bool | use_hdr_buffer = false |
| bool | use_hdr_display = false |
| bool | use_display_emulation = false |
| bool | is_valid = false |
| gpu::Shader * | shader = nullptr |
| OCIO_GPUParameters | parameters = {} |
| gpu::UniformBuf * | parameters_buffer = nullptr |
| GPUTextures | textures |
| GPUCurveMappping | curve_mapping |
Definition at line 124 of file gpu_shader_binder_internal.hh.
| blender::ocio::internal::GPUDisplayShader::~GPUDisplayShader | ( | ) |
Definition at line 121 of file gpu_shader_binder.cc.
References GPU_shader_free(), GPU_uniformbuf_free(), parameters_buffer, and shader.
| bool blender::ocio::internal::GPUDisplayShader::initialize_common | ( | ) |
Initialize common parts of this object: resources needed for both fall-back and OpenColorIO implementations.
If the resources creation has failed sets is_valid to false, otherwise keeps is_valid unchanged.
Returns true if the resources have been successfully allocated.
Definition at line 142 of file gpu_shader_binder.cc.
References curve_mapping, is_valid, textures, and use_curve_mapping.
Referenced by blender::ocio::GPUShaderBinder::display_bind(), and blender::ocio::GPUShaderBinder::to_scene_linear_bind().
| bool blender::ocio::internal::GPUDisplayShader::matches | ( | const GPUDisplayParameters & | display_parameters | ) | const |
Definition at line 131 of file gpu_shader_binder.cc.
References blender::ocio::GPUDisplayParameters::curve_mapping, blender::ocio::GPUDisplayParameters::display, blender::ocio::GPUDisplayParameters::from_colorspace, from_colorspace, blender::ocio::GPUDisplayParameters::look, use_curve_mapping, blender::ocio::GPUDisplayParameters::use_display_emulation, blender::ocio::GPUDisplayParameters::use_hdr_buffer, blender::ocio::GPUDisplayParameters::use_hdr_display, and blender::ocio::GPUDisplayParameters::view.
| GPUCurveMappping blender::ocio::internal::GPUDisplayShader::curve_mapping |
Definition at line 148 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind(), and initialize_common().
| std::string blender::ocio::internal::GPUDisplayShader::display |
Definition at line 129 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind().
| std::string blender::ocio::internal::GPUDisplayShader::from_colorspace |
Definition at line 127 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind(), matches(), and blender::ocio::GPUShaderBinder::to_scene_linear_bind().
| bool blender::ocio::internal::GPUDisplayShader::is_valid = false |
| std::string blender::ocio::internal::GPUDisplayShader::look |
Definition at line 130 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind().
| OCIO_GPUParameters blender::ocio::internal::GPUDisplayShader::parameters = {} |
Definition at line 144 of file gpu_shader_binder_internal.hh.
| gpu::UniformBuf* blender::ocio::internal::GPUDisplayShader::parameters_buffer = nullptr |
Definition at line 145 of file gpu_shader_binder_internal.hh.
Referenced by ~GPUDisplayShader().
| gpu::Shader* blender::ocio::internal::GPUDisplayShader::shader = nullptr |
Definition at line 141 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::create_gpu_shader(), and ~GPUDisplayShader().
| GPUTextures blender::ocio::internal::GPUDisplayShader::textures |
Definition at line 147 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::create_gpu_shader(), and initialize_common().
| bool blender::ocio::internal::GPUDisplayShader::use_curve_mapping = false |
Definition at line 131 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::create_gpu_shader(), blender::ocio::GPUShaderBinder::display_bind(), initialize_common(), and matches().
| bool blender::ocio::internal::GPUDisplayShader::use_display_emulation = false |
Definition at line 134 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind().
| bool blender::ocio::internal::GPUDisplayShader::use_hdr_buffer = false |
Definition at line 132 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind().
| bool blender::ocio::internal::GPUDisplayShader::use_hdr_display = false |
Definition at line 133 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind().
| std::string blender::ocio::internal::GPUDisplayShader::view |
Definition at line 128 of file gpu_shader_binder_internal.hh.
Referenced by blender::ocio::GPUShaderBinder::display_bind().