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

#include <fallback_default_display.hh>

Inherits blender::ocio::Display.

Public Member Functions

 FallbackDefaultDisplay (const ColorSpace *display_colorspace)
StringRefNull name () const override
StringRefNull ui_name () const override
StringRefNull description () const override
const Viewget_default_view () const override
const Viewget_untonemapped_view () const override
const Viewget_view_by_name (const StringRefNull name) const override
int get_num_views () const override
const Viewget_view_by_index (const int index) const override
const CPUProcessorget_to_scene_linear_cpu_processor (bool) const override
const CPUProcessorget_from_scene_linear_cpu_processor (bool) const override
bool is_hdr () const override
Public Member Functions inherited from blender::ocio::Display
virtual ~Display ()=default

Additional Inherited Members

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

Detailed Description

Definition at line 18 of file fallback_default_display.hh.

Constructor & Destructor Documentation

◆ FallbackDefaultDisplay()

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

Definition at line 23 of file fallback_default_display.hh.

References blender::ocio::Display::index.

Member Function Documentation

◆ description()

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

Description of the display from the OpenColorIO config.

Implements blender::ocio::Display.

Definition at line 39 of file fallback_default_display.hh.

◆ get_default_view()

const View * blender::ocio::FallbackDefaultDisplay::get_default_view ( ) const
inlineoverridevirtual

Get default view of this display.

Implements blender::ocio::Display.

Definition at line 44 of file fallback_default_display.hh.

◆ get_from_scene_linear_cpu_processor()

const CPUProcessor * blender::ocio::FallbackDefaultDisplay::get_from_scene_linear_cpu_processor ( bool ) const
inlineoverridevirtual

Implements blender::ocio::Display.

Definition at line 82 of file fallback_default_display.hh.

◆ get_num_views()

int blender::ocio::FallbackDefaultDisplay::get_num_views ( ) const
inlineoverridevirtual

Get the number of view in this display.

Implements blender::ocio::Display.

Definition at line 62 of file fallback_default_display.hh.

◆ get_to_scene_linear_cpu_processor()

const CPUProcessor * blender::ocio::FallbackDefaultDisplay::get_to_scene_linear_cpu_processor ( bool use_display_emulation) const
inlineoverridevirtual

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.

Implements blender::ocio::Display.

Definition at line 75 of file fallback_default_display.hh.

◆ get_untonemapped_view()

const View * blender::ocio::FallbackDefaultDisplay::get_untonemapped_view ( ) const
inlineoverridevirtual

Get the view without tonemapping.

Implements blender::ocio::Display.

Definition at line 49 of file fallback_default_display.hh.

◆ get_view_by_index()

const View * blender::ocio::FallbackDefaultDisplay::get_view_by_index ( const int index) const
inlineoverridevirtual

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

Implements blender::ocio::Display.

Definition at line 67 of file fallback_default_display.hh.

References blender::ocio::Display::index.

◆ get_view_by_name()

const View * blender::ocio::FallbackDefaultDisplay::get_view_by_name ( const StringRefNull name) const
inlineoverridevirtual

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

Implements blender::ocio::Display.

Definition at line 54 of file fallback_default_display.hh.

References name().

◆ is_hdr()

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

Determine if the display supports HDR.

Implements blender::ocio::Display.

Definition at line 89 of file fallback_default_display.hh.

◆ name()

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

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

Implements blender::ocio::Display.

Definition at line 29 of file fallback_default_display.hh.

Referenced by get_view_by_name(), and ui_name().

◆ ui_name()

StringRefNull blender::ocio::FallbackDefaultDisplay::ui_name ( ) const
inlineoverridevirtual

Implements blender::ocio::Display.

Definition at line 34 of file fallback_default_display.hh.

References name().


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