Blender V4.5
blender::ocio::Display Class Referenceabstract

#include <OCIO_display.hh>

Inherited by blender::ocio::FallbackDefaultDisplay.

Public Member Functions

virtual ~Display ()=default
virtual StringRefNull name () const =0
virtual const View * get_default_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 () const =0
virtual const CPUProcessor * get_from_scene_linear_cpu_processor () const =0

Public Attributes

int index = -1

Detailed Description

Definition at line 14 of file OCIO_display.hh.

Constructor & Destructor Documentation

◆ ~Display()

virtual blender::ocio::Display::~Display ( )
virtualdefault

Member Function Documentation

◆ get_default_view()

◆ get_from_scene_linear_cpu_processor()

virtual const CPUProcessor * blender::ocio::Display::get_from_scene_linear_cpu_processor ( ) const
pure virtual

◆ get_num_views()

virtual int blender::ocio::Display::get_num_views ( ) const
pure virtual

◆ get_to_scene_linear_cpu_processor()

virtual const CPUProcessor * blender::ocio::Display::get_to_scene_linear_cpu_processor ( ) const
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.

Implemented in blender::ocio::FallbackDefaultDisplay.

Referenced by IMB_colormanagement_display_to_scene_linear_v3().

◆ get_view_by_index()

virtual const View * blender::ocio::Display::get_view_by_index ( int index) const
pure virtual

Get view with the given index within the display. If the index is invalid nullptr is returned.

Implemented in blender::ocio::FallbackDefaultDisplay.

References index.

Referenced by colormanage_load_config(), IMB_colormanagement_validate_settings(), and IMB_colormanagement_view_items_add().

◆ get_view_by_name()

virtual const View * blender::ocio::Display::get_view_by_name ( StringRefNull name) const
pure virtual

Get view with the given name for this display. If the view does not exist nullptr is returned.

Implemented in blender::ocio::FallbackDefaultDisplay.

References name().

Referenced by colormanage_check_view_settings(), IMB_colormanagement_init_default_view_settings(), and IMB_colormanagement_view_get_raw_or_default_name().

◆ name()

virtual StringRefNull blender::ocio::Display::name ( ) const
pure virtual

Member Data Documentation

◆ index

int blender::ocio::Display::index = -1

The documentation for this class was generated from the following file: