|
Blender V5.3
|
Inherits OCIO_NAMESPACE::GpuShaderCreator.
Public Member Functions | |
| OCIO::GpuShaderCreatorRcPtr | clone () const override |
| void | setTextureMaxWidth (uint) override |
| uint | getTextureMaxWidth () const noexcept override |
| bool | addUniform (const char *name, const DoubleGetter &get_double) override |
| bool | addUniform (const char *name, const BoolGetter &get_bool) override |
| bool | addUniform (const char *name, const Float3Getter &get_float3) override |
| bool | addUniform (const char *name, const SizeGetter &get_size, const VectorFloatGetter &get_vector_float) override |
| bool | addUniform (const char *name, const SizeGetter &get_size, const VectorIntGetter &get_vector_int) override |
| void | addTexture (const char *texture_name, const char *sampler_name, uint width, uint height, TextureType channel, OCIO::Interpolation interpolation, const float *values) override |
| void | add3DTexture (const char *texture_name, const char *sampler_name, uint size, OCIO::Interpolation interpolation, const float *values) override |
| void | createShaderText (const char *, const char *helper_methods, const char *function_header, const char *function_body, const char *function_footer) override |
| void | finalize () override |
| gpu::Shader * | bind_shader_and_resources () |
| void | unbind_shader_and_resources () |
| const char * | input_sampler_name () |
| const char * | output_image_name () |
| ~GPUShaderCreator () override | |
Static Public Member Functions | |
| static std::shared_ptr< GPUShaderCreator > | Create (ResultPrecision precision) |
Definition at line 57 of file ocio_color_space_conversion_shader.cc.
|
inlineoverride |
Definition at line 408 of file ocio_color_space_conversion_shader.cc.
References blender::GPU_shader_free(), blender::GPU_texture_free(), and texture().
|
inlineoverride |
Definition at line 263 of file ocio_color_space_conversion_shader.cc.
References BLI_assert_unreachable, blender::GPU_texture_create_3d(), blender::GPU_texture_filter_mode(), blender::compositor::Result::gpu_texture_format(), blender::GPU_TEXTURE_USAGE_SHADER_READ, and texture().
|
inlineoverride |
Definition at line 209 of file ocio_color_space_conversion_shader.cc.
References BLI_assert_unreachable, blender::GPU_texture_create_1d(), blender::GPU_texture_create_2d(), blender::GPU_texture_filter_mode(), blender::compositor::Result::gpu_texture_format(), blender::GPU_TEXTURE_USAGE_SHADER_READ, and texture().
|
inlineoverride |
Definition at line 112 of file ocio_color_space_conversion_shader.cc.
References BLI_assert_unreachable, and blender::gpu::shader::bool_t.
|
inlineoverride |
Definition at line 93 of file ocio_color_space_conversion_shader.cc.
References BLI_assert_unreachable, and blender::gpu::shader::float_t.
|
inlineoverride |
Definition at line 131 of file ocio_color_space_conversion_shader.cc.
References BLI_assert_unreachable, and blender::gpu::shader::float3_t.
|
inlineoverride |
Definition at line 150 of file ocio_color_space_conversion_shader.cc.
References BLI_assert_unreachable.
|
inlineoverride |
Definition at line 177 of file ocio_color_space_conversion_shader.cc.
References BLI_assert_unreachable.
|
inline |
Definition at line 340 of file ocio_color_space_conversion_shader.cc.
References blender::GPU_shader_bind(), blender::GPU_shader_get_sampler_binding(), blender::GPU_shader_get_ubo_binding(), blender::GPU_shader_uniform_1b(), blender::GPU_shader_uniform_1f(), blender::GPU_shader_uniform_3fv(), blender::GPU_texture_bind(), blender::GPU_uniformbuf_bind(), and blender::GPU_uniformbuf_create_ex().
|
inlineoverride |
Definition at line 68 of file ocio_color_space_conversion_shader.cc.
|
inlinestatic |
Definition at line 59 of file ocio_color_space_conversion_shader.cc.
Referenced by blender::compositor::OCIOColorSpaceConversionShader::OCIOColorSpaceConversionShader(), and blender::compositor::OCIOToDisplayShader::OCIOToDisplayShader().
|
inlineoverride |
Definition at line 299 of file ocio_color_space_conversion_shader.cc.
|
inlineoverride |
Definition at line 317 of file ocio_color_space_conversion_shader.cc.
References blender::gpu::shader::bool_t, blender::compositor::Color, blender::gpu::shader::GLOBAL_INVOCATION_ID, blender::GPU_shader_create_from_info(), blender::GPU_shader_preprocess_source(), blender::compositor::Result::gpu_texture_format(), input_sampler_name(), output_image_name(), and blender::gpu::shader::write.
|
inlineoverridenoexcept |
Definition at line 76 of file ocio_color_space_conversion_shader.cc.
References blender::GPU_max_texture_size().
|
inline |
Definition at line 398 of file ocio_color_space_conversion_shader.cc.
Referenced by finalize().
|
inline |
Definition at line 403 of file ocio_color_space_conversion_shader.cc.
Referenced by finalize().
|
inlineoverride |
Definition at line 74 of file ocio_color_space_conversion_shader.cc.
|
inline |
Definition at line 384 of file ocio_color_space_conversion_shader.cc.
References blender::GPU_shader_unbind(), blender::GPU_texture_unbind(), blender::GPU_uniformbuf_free(), blender::GPU_uniformbuf_unbind(), and texture().