|
Blender V5.0
|
#include <fallback_gpu_shader_binder.hh>
Inherits blender::ocio::GPUShaderBinder.
Protected Member Functions | |
| void | construct_display_shader (internal::GPUDisplayShader &display_shader) const override |
| void | construct_scene_linear_shader (internal::GPUDisplayShader &display_shader) const override |
| GPUShaderBinder (const Config &config) | |
Additional Inherited Members | |
| Public Member Functions inherited from blender::ocio::GPUShaderBinder | |
| GPUShaderBinder (const Config &config) | |
| virtual | ~GPUShaderBinder () |
| bool | display_bind (const GPUDisplayParameters &display_parameters) const |
| bool | to_scene_linear_bind (StringRefNull from_colorspace, bool use_predivide) const |
| void | unbind () const |
| void | clear_caches () const |
| Static Protected Member Functions inherited from blender::ocio::GPUShaderBinder | |
| static bool | create_gpu_shader (internal::GPUDisplayShader &display_shader, StringRefNull fragment_source, Span< std::array< StringRefNull, 2 > > additional_defines) |
| Protected Attributes inherited from blender::ocio::GPUShaderBinder | |
| const Config & | config_ |
Definition at line 11 of file fallback_gpu_shader_binder.hh.
|
overrideprotectedvirtual |
Construct display shader matching requested parameters. The shader has its cache variables (input color space name, view, display, look, whether curve mapping is used or not).
Implements blender::ocio::GPUShaderBinder.
Definition at line 76 of file fallback_gpu_shader_binder.cc.
References blender::ocio::GPUShaderBinder::create_gpu_shader(), and blender::ocio::internal::GPUDisplayShader::is_valid.
|
overrideprotectedvirtual |
Construct display shader which will only perform the to-scene-linear part of conversion, leaving the to-display a no-op function.
Implements blender::ocio::GPUShaderBinder.
Definition at line 89 of file fallback_gpu_shader_binder.cc.
References blender::ocio::GPUShaderBinder::create_gpu_shader(), and blender::ocio::internal::GPUDisplayShader::is_valid.
|
explicitprotected |
Definition at line 73 of file gpu_shader_binder.cc.
References texture().