|
Blender V5.3
|
#include <OCIO_look.hh>
Inherited by blender::ocio::LibOCIOLook.
Public Member Functions | |
| virtual | ~Look ()=default |
| virtual StringRefNull | name () const =0 |
| virtual StringRefNull | ui_name () const =0 |
| virtual StringRefNull | description () const =0 |
| virtual StringRefNull | view () const =0 |
| virtual StringRefNull | process_space () const =0 |
Public Attributes | |
| int | index = -1 |
| bool | is_noop = false |
Definition at line 11 of file OCIO_look.hh.
|
virtualdefault |
|
pure virtual |
Description of the look from the OpenColorIO config.
Implemented in blender::ocio::LibOCIOLook.
Referenced by blender::IMB_colormanagement_look_items_add().
|
pure virtual |
Name of this look. The name is used to address to this look from various places of the configuration.
Implemented in blender::ocio::LibOCIOLook.
Referenced by blender::IMB_colormanagement_look_get_default_name(), blender::IMB_colormanagement_look_get_indexed_name(), blender::IMB_colormanagement_look_items_add(), and blender::IMB_colormanagement_look_validate_for_view().
|
pure virtual |
process_space defines the color space the image required to be in for the math to apply correctly.
Implemented in blender::ocio::LibOCIOLook.
Referenced by blender::is_colorspace_same_as_display().
|
pure virtual |
Name of the look presented in the interface. It is typically derived from the OpenColorIO's look name by stripping the view name prefix/
Implemented in blender::ocio::LibOCIOLook.
Referenced by blender::IMB_colormanagement_look_items_add(), and blender::IMB_colormanagement_look_validate_for_view().
|
pure virtual |
When not empty the look is specific to the view with the given name.
Implemented in blender::ocio::LibOCIOLook.
Referenced by blender::colormanage_compatible_look(), and blender::view_filter_for_look().
| int blender::ocio::Look::index = -1 |
Global index of the look within the OpenColorIO configuration. The index is 0-based.
NOTE: The implementation ensures None as a look. It has index of 0. This makes it so looks in the OpenColorIO configurations are to be offset by 1 from this index.
Definition at line 22 of file OCIO_look.hh.
Referenced by blender::IMB_colormanagement_look_get_named_index(), blender::IMB_colormanagement_look_items_add(), and blender::ocio::LibOCIOLook::LibOCIOLook().
| bool blender::ocio::Look::is_noop = false |
The look is known to not perform any actual color space conversion.
Definition at line 27 of file OCIO_look.hh.
Referenced by blender::colormanage_compatible_look(), blender::colormanage_use_look(), and blender::ocio::LibOCIOLook::LibOCIOLook().