Blender V5.0
blender::ocio::View Class Referenceabstract

#include <OCIO_view.hh>

Inherited by blender::ocio::FallbackDefaultView.

Public Member Functions

virtual ~View ()=default
virtual StringRefNull name () const =0
virtual StringRefNull description () const =0
virtual bool is_hdr () const =0
virtual bool support_emulation () const =0
virtual Gamut gamut () const =0
virtual TransferFunction transfer_function () const =0
virtual const ColorSpacedisplay_colorspace () const =0

Public Attributes

int index = -1

Detailed Description

Definition at line 32 of file OCIO_view.hh.

Constructor & Destructor Documentation

◆ ~View()

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

Member Function Documentation

◆ description()

virtual StringRefNull blender::ocio::View::description ( ) const
pure virtual

Description of the view from the OpenColorIO config.

Implemented in blender::ocio::FallbackDefaultView.

◆ display_colorspace()

virtual const ColorSpace * blender::ocio::View::display_colorspace ( ) const
pure virtual

Display colorspace that this view transform transforms into. Not guaranteed to be display referred.

Implemented in blender::ocio::FallbackDefaultView.

◆ gamut()

virtual Gamut blender::ocio::View::gamut ( ) const
pure virtual

Gamut of the display colorspace.

Implemented in blender::ocio::FallbackDefaultView.

◆ is_hdr()

virtual bool blender::ocio::View::is_hdr ( ) const
pure virtual

Does this view transform output HDR colors?

Implemented in blender::ocio::FallbackDefaultView.

◆ name()

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

Name of this view. The name is used to address to this view from various places of the configuration.

Implemented in blender::ocio::FallbackDefaultView.

Referenced by colormanage_check_view_settings(), IMB_colormanagement_display_get_default_view_transform_name(), IMB_colormangement_display_get_color_space(), and is_colorspace_same_as_display().

◆ support_emulation()

virtual bool blender::ocio::View::support_emulation ( ) const
pure virtual

Does this view transform support display emulation?

Implemented in blender::ocio::FallbackDefaultView.

◆ transfer_function()

virtual TransferFunction blender::ocio::View::transfer_function ( ) const
pure virtual

Transfer function of the display colorspace.

Implemented in blender::ocio::FallbackDefaultView.

Member Data Documentation

◆ index

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

Index of the view within the display that owns it. The index is 0-based.

Definition at line 40 of file OCIO_view.hh.

Referenced by blender::ocio::FallbackDefaultView::FallbackDefaultView().


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