Blender V5.0
blender::ocio::FallbackDefaultView Class Reference

#include <fallback_default_view.hh>

Inherits blender::ocio::View.

Public Member Functions

 FallbackDefaultView (const ColorSpace *display_colorspace)
StringRefNull name () const override
StringRefNull description () const override
bool is_hdr () const override
bool support_emulation () const override
Gamut gamut () const override
TransferFunction transfer_function () const override
const ColorSpacedisplay_colorspace () const override
Public Member Functions inherited from blender::ocio::View
virtual ~View ()=default

Protected Attributes

const ColorSpacedisplay_colorspace_ = nullptr

Additional Inherited Members

Public Attributes inherited from blender::ocio::View
int index = -1

Detailed Description

Definition at line 13 of file fallback_default_view.hh.

Constructor & Destructor Documentation

◆ FallbackDefaultView()

blender::ocio::FallbackDefaultView::FallbackDefaultView ( const ColorSpace * display_colorspace)
inline

Member Function Documentation

◆ description()

StringRefNull blender::ocio::FallbackDefaultView::description ( ) const
inlineoverridevirtual

Description of the view from the OpenColorIO config.

Implements blender::ocio::View.

Definition at line 29 of file fallback_default_view.hh.

◆ display_colorspace()

const ColorSpace * blender::ocio::FallbackDefaultView::display_colorspace ( ) const
inlineoverridevirtual

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

Implements blender::ocio::View.

Definition at line 54 of file fallback_default_view.hh.

References display_colorspace_.

Referenced by FallbackDefaultView().

◆ gamut()

Gamut blender::ocio::FallbackDefaultView::gamut ( ) const
inlineoverridevirtual

Gamut of the display colorspace.

Implements blender::ocio::View.

Definition at line 44 of file fallback_default_view.hh.

References blender::ocio::Rec709.

◆ is_hdr()

bool blender::ocio::FallbackDefaultView::is_hdr ( ) const
inlineoverridevirtual

Does this view transform output HDR colors?

Implements blender::ocio::View.

Definition at line 34 of file fallback_default_view.hh.

◆ name()

StringRefNull blender::ocio::FallbackDefaultView::name ( ) const
inlineoverridevirtual

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

Implements blender::ocio::View.

Definition at line 24 of file fallback_default_view.hh.

◆ support_emulation()

bool blender::ocio::FallbackDefaultView::support_emulation ( ) const
inlineoverridevirtual

Does this view transform support display emulation?

Implements blender::ocio::View.

Definition at line 39 of file fallback_default_view.hh.

◆ transfer_function()

TransferFunction blender::ocio::FallbackDefaultView::transfer_function ( ) const
inlineoverridevirtual

Transfer function of the display colorspace.

Implements blender::ocio::View.

Definition at line 49 of file fallback_default_view.hh.

References blender::ocio::sRGB.

Member Data Documentation

◆ display_colorspace_

const ColorSpace* blender::ocio::FallbackDefaultView::display_colorspace_ = nullptr
protected

Definition at line 15 of file fallback_default_view.hh.

Referenced by display_colorspace(), and FallbackDefaultView().


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