|
Blender V5.3
|
#include <OCIO_display.hh>
Inherited by blender::ocio::LibOCIODisplay.
Public Member Functions | |
| virtual | ~Display ()=default |
| virtual StringRefNull | name () const =0 |
| virtual StringRefNull | ui_name () const =0 |
| virtual StringRefNull | description () const =0 |
| virtual const View * | get_default_view () const =0 |
| virtual const View * | get_untonemapped_view () const =0 |
| virtual const View * | get_view_by_name (StringRefNull name) const =0 |
| virtual int | get_num_views () const =0 |
| virtual const View * | get_view_by_index (int index) const =0 |
| virtual const CPUProcessor * | get_to_scene_linear_cpu_processor (bool use_display_emulation) const =0 |
| virtual const CPUProcessor * | get_from_scene_linear_cpu_processor (bool use_display_emulation) const =0 |
| virtual bool | is_hdr () const =0 |
Public Attributes | |
| int | index = -1 |
Definition at line 14 of file OCIO_display.hh.
|
virtualdefault |
|
pure virtual |
Description of the display from the OpenColorIO config.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::IMB_colormanagement_display_items_add().
|
pure virtual |
Get default view of this display.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::colormanage_check_view_settings(), blender::colormanage_find_matching_view_name(), blender::IMB_colormanagement_display_get_default_view_transform_name(), blender::IMB_colormanagement_view_get_default_name(), and blender::IMB_colormanagement_view_get_raw_or_default_name().
|
pure virtual |
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::IMB_colormanagement_scene_linear_to_display_v3().
|
pure virtual |
Get the number of view in this display.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::colormanage_check_view_settings(), blender::colormanage_find_matching_view_name(), blender::colormanage_load_config(), blender::IMB_colormanagement_validate_settings(), and blender::IMB_colormanagement_view_items_add().
|
pure virtual |
Quick access to processors that convert color space from the display to scene linear and vice versa. The call is allowed to be caching from the color space implementation perspective.
With #use_display_emulation, rather than converting to the display space, this converts to extended sRGB emulating the display space.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::IMB_colormanagement_display_to_scene_linear_v3().
|
pure virtual |
Get the view without tonemapping.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::IMB_colormanagement_get_scope_info(), blender::IMB_colormangement_display_get_color_space(), and blender::is_colorspace_same_as_display().
|
pure virtual |
Get view with the given index within the display. If the index is invalid nullptr is returned.
Implemented in blender::ocio::LibOCIODisplay.
References index.
Referenced by blender::colormanage_find_matching_view_name(), blender::colormanage_load_config(), blender::IMB_colormanagement_validate_settings(), and blender::IMB_colormanagement_view_items_add().
|
pure virtual |
Get view with the given name for this display. If the view does not exist nullptr is returned.
Implemented in blender::ocio::LibOCIODisplay.
References name().
Referenced by blender::colormanage_check_view_settings(), blender::colormanage_find_matching_view_name(), blender::IMB_colormanagement_display_is_hdr(), blender::IMB_colormanagement_display_is_wide_gamut(), blender::IMB_colormanagement_display_support_emulation(), blender::IMB_colormanagement_get_scope_info(), blender::IMB_colormanagement_view_get_raw_or_default_name(), blender::IMB_colormanagement_view_max_nits(), and blender::IMB_colormangement_display_get_color_space().
|
pure virtual |
Determine if the display supports HDR.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::IMB_colormanagement_display_items_add().
|
pure virtual |
Name of this display. The name is used to address to this display from various places of the configuration.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::colormanage_check_display_settings(), blender::colormanage_load_config(), get_view_by_name(), blender::IMB_colormanagement_display_get_default_name(), blender::IMB_colormanagement_display_get_indexed_name(), and blender::IMB_colormanagement_display_items_add().
|
pure virtual |
Name to display in the user interface.
Implemented in blender::ocio::LibOCIODisplay.
Referenced by blender::IMB_colormanagement_display_items_add().
| int blender::ocio::Display::index = -1 |
Global index of the display within the OpenColorIO configuration. The index is 0-based.
Definition at line 22 of file OCIO_display.hh.
Referenced by get_view_by_index(), blender::ocio::LibOCIODisplay::get_view_by_index(), blender::IMB_colormanagement_display_get_named_index(), blender::IMB_colormanagement_display_items_add(), and blender::ocio::LibOCIODisplay::LibOCIODisplay().