|
Blender V5.0
|
#include <fallback_colorspace.hh>
Inherits blender::ocio::ColorSpace.
Public Types | |
| enum class | Type { LINEAR , SRGB , DATA } |
Public Member Functions | |
| FallbackColorSpace (const int index, const StringRefNull name, const Type type) | |
| StringRefNull | name () const override |
| StringRefNull | description () const override |
| StringRefNull | interop_id () const override |
| bool | is_invertible () const override |
| bool | is_scene_linear () const override |
| bool | is_srgb () const override |
| bool | is_data () const override |
| bool | is_display_referred () const override |
| const CPUProcessor * | get_to_scene_linear_cpu_processor () const override |
| CPUProcessor * | get_from_scene_linear_cpu_processor () const override |
| Public Member Functions inherited from blender::ocio::ColorSpace | |
| virtual | ~ColorSpace ()=default |
Additional Inherited Members | |
| Public Attributes inherited from blender::ocio::ColorSpace | |
| int | index = -1 |
Definition at line 15 of file fallback_colorspace.hh.
|
strong |
| Enumerator | |
|---|---|
| LINEAR | |
| SRGB | |
| DATA | |
Definition at line 19 of file fallback_colorspace.hh.
|
inline |
Definition at line 25 of file fallback_colorspace.hh.
References blender::ocio::ColorSpace::index, and name().
|
inlineoverridevirtual |
Implements blender::ocio::ColorSpace.
Definition at line 35 of file fallback_colorspace.hh.
|
inlineoverridevirtual |
Implements blender::ocio::ColorSpace.
Definition at line 88 of file fallback_colorspace.hh.
References SRGB.
|
inlineoverridevirtual |
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.
Implements blender::ocio::ColorSpace.
Definition at line 77 of file fallback_colorspace.hh.
References SRGB.
|
inlineoverridevirtual |
Implements blender::ocio::ColorSpace.
Definition at line 39 of file fallback_colorspace.hh.
|
inlineoverridevirtual |
The color space is a non-color data. Data color spaces do not change values of underlying pixels when converting to other color spaces.
Implements blender::ocio::ColorSpace.
Definition at line 67 of file fallback_colorspace.hh.
References DATA.
|
inlineoverridevirtual |
The color space is display referred rather than scene referred.
Implements blender::ocio::ColorSpace.
Definition at line 72 of file fallback_colorspace.hh.
References SRGB.
|
inlineoverridevirtual |
Returns true if there is a conversion from this color space to the scene linear.
Implements blender::ocio::ColorSpace.
Definition at line 53 of file fallback_colorspace.hh.
|
inlineoverridevirtual |
Check whether this color space matches one of the built-in spaces like scene linear or sRGB (in its standard Blender notation).
Implements blender::ocio::ColorSpace.
Definition at line 58 of file fallback_colorspace.hh.
References LINEAR.
|
inlineoverridevirtual |
Implements blender::ocio::ColorSpace.
Definition at line 62 of file fallback_colorspace.hh.
References SRGB.
|
inlineoverridevirtual |
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.
Implements blender::ocio::ColorSpace.
Definition at line 31 of file fallback_colorspace.hh.
Referenced by FallbackColorSpace().