Blender V4.5
blender::ocio::FallbackDefaultDisplay Class Reference

#include <fallback_default_display.hh>

Inherits blender::ocio::Display.

Public Member Functions

 FallbackDefaultDisplay ()
StringRefNull name () const override
const Viewget_default_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 () const override
const CPUProcessorget_from_scene_linear_cpu_processor () 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 16 of file fallback_default_display.hh.

Constructor & Destructor Documentation

◆ FallbackDefaultDisplay()

blender::ocio::FallbackDefaultDisplay::FallbackDefaultDisplay ( )
inline

Definition at line 21 of file fallback_default_display.hh.

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

Member Function Documentation

◆ 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 32 of file fallback_default_display.hh.

◆ get_from_scene_linear_cpu_processor()

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

Implements blender::ocio::Display.

Definition at line 64 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 45 of file fallback_default_display.hh.

◆ get_to_scene_linear_cpu_processor()

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

Implements blender::ocio::Display.

Definition at line 58 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 50 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 37 of file fallback_default_display.hh.

References name().

◆ 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 27 of file fallback_default_display.hh.

Referenced by get_view_by_name().


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