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

#include <OCIO_view.hh>

Inherited by blender::ocio::LibOCIOView.

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 ColorSpace * display_colorspace () const =0
virtual const ScopeInfo & scope_info () const =0
virtual int max_nits () const

Public Attributes

int index = -1

Detailed Description

Definition at line 33 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::LibOCIOView.

Referenced by blender::IMB_colormanagement_view_items_add().

◆ 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::LibOCIOView.

Referenced by blender::IMB_colormangement_display_get_color_space().

◆ gamut()

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

Gamut of the display colorspace.

Implemented in blender::ocio::LibOCIOView.

Referenced by blender::IMB_colormanagement_display_is_wide_gamut().

◆ is_hdr()

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

Does this view transform output HDR colors?

Implemented in blender::ocio::LibOCIOView.

Referenced by blender::IMB_colormanagement_display_is_hdr().

◆ max_nits()

virtual int blender::ocio::View::max_nits ( ) const
inlinevirtual

Max luminance of the view transform, or 0 if no maximum found.

Reimplemented in blender::ocio::LibOCIOView.

Definition at line 84 of file OCIO_view.hh.

Referenced by blender::IMB_colormanagement_view_max_nits().

◆ name()

◆ scope_info()

virtual const ScopeInfo & blender::ocio::View::scope_info ( ) const
pure virtual

Get scope display info for waveform/parade/vectorscope.

Implemented in blender::ocio::LibOCIOView.

Referenced by blender::IMB_colormanagement_get_scope_info().

◆ support_emulation()

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

Does this view transform support display emulation?

Implemented in blender::ocio::LibOCIOView.

Referenced by blender::IMB_colormanagement_display_support_emulation().

◆ transfer_function()

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

Transfer function of the display colorspace.

Implemented in blender::ocio::LibOCIOView.

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 41 of file OCIO_view.hh.

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


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