|
Blender V4.5
|
#include <OCIO_colorspace.hh>
Inherited by blender::ocio::FallbackColorSpace.
Public Member Functions | |
| virtual | ~ColorSpace ()=default |
| virtual StringRefNull | name () const =0 |
| virtual StringRefNull | description () const =0 |
| virtual bool | is_invertible () const =0 |
| virtual bool | is_scene_linear () const =0 |
| virtual bool | is_srgb () const =0 |
| virtual bool | is_data () const =0 |
| virtual const CPUProcessor * | get_to_scene_linear_cpu_processor () const =0 |
| virtual const CPUProcessor * | get_from_scene_linear_cpu_processor () const =0 |
Public Attributes | |
| int | index = -1 |
Definition at line 14 of file OCIO_colorspace.hh.
|
virtualdefault |
|
pure virtual |
Implemented in blender::ocio::FallbackColorSpace.
Referenced by IMB_colormanagement_colorspace_items_add().
|
pure virtual |
Implemented in blender::ocio::FallbackColorSpace.
Referenced by IMB_colormanagement_scene_linear_to_colorspace(), and IMB_colormanagement_scene_linear_to_colorspace_v3().
|
pure virtual |
Quick access to CPU processors that convert color space from the current one to scene linear and vice versa. The call is allowed to be caching from the color space implementation perspective.
Implemented in blender::ocio::FallbackColorSpace.
Referenced by IMB_colormanagement_colorspace_to_scene_linear(), IMB_colormanagement_colorspace_to_scene_linear_v3(), IMB_colormanagement_colorspace_to_scene_linear_v4(), and IMB_colormanagement_imbuf_to_float_texture().
|
pure virtual |
The color space is a non-color data. Data color spaces do not change values of underlying pixels when converting to other color spaces.
Implemented in blender::ocio::FallbackColorSpace.
Referenced by colormanage_imbuf_make_linear(), IMB_colormanagement_assign_byte_colorspace(), IMB_colormanagement_assign_float_colorspace(), IMB_colormanagement_check_is_data(), IMB_colormanagement_colorspace_from_ibuf_ftype(), IMB_colormanagement_display_processor_new(), IMB_colormanagement_space_is_data(), and IMB_colormanagement_space_name_is_data().
|
pure virtual |
Returns true if there is a conversion from this color space to the scene linear.
Implemented in blender::ocio::FallbackColorSpace.
Referenced by IMB_colormanagement_colorspace_items_add().
|
pure virtual |
Check whether this color space matches one of the built-in spaces like scene linear or sRGB (in its standard Blender notation).
Implemented in blender::ocio::FallbackColorSpace.
Referenced by IMB_colormanagement_space_is_scene_linear().
|
pure virtual |
Implemented in blender::ocio::FallbackColorSpace.
Referenced by IMB_colormanagement_space_is_srgb().
|
pure virtual |
Name and description of this space.
The name is used to address to this color space from various places of the configuration. The description is used for UI to give better clue what the space is to artists.
Implemented in blender::ocio::FallbackColorSpace.
Referenced by colormanage_role_color_space_name_get(), display_buffer_apply_threaded(), IMB_byte_from_float(), IMB_colormanagement_colorspace_get_indexed_name(), IMB_colormanagement_colorspace_get_name(), IMB_colormanagement_colorspace_items_add(), IMB_colormanagement_get_float_colorspace(), IMB_colormanagement_get_rect_colorspace(), IMB_colormanagement_imbuf_for_write(), IMB_colormanagement_setup_glsl_draw_from_space(), and IMB_colormanagement_srgb_colorspace_name_get().
| int blender::ocio::ColorSpace::index = -1 |
Global index of the color space within the OpenColorIO configuration. The index is 0-based.
Definition at line 22 of file OCIO_colorspace.hh.
Referenced by blender::ocio::FallbackColorSpace::FallbackColorSpace(), IMB_colormanagement_colorspace_get_named_index(), and IMB_colormanagement_colorspace_items_add().