Blender V5.3
blender::ocio::LibOCIOLook Class Reference

#include <libocio_look.hh>

Inherits blender::ocio::Look.

Public Member Functions

 LibOCIOLook (int index, const OCIO_NAMESPACE::ConstLookRcPtr &ocio_look)
StringRefNull name () const override
StringRefNull ui_name () const override
StringRefNull description () const override
StringRefNull view () const override
StringRefNull process_space () const override
 MEM_CXX_CLASS_ALLOC_FUNCS ("LibOCIOLook")
Public Member Functions inherited from blender::ocio::Look
virtual ~Look ()=default

Additional Inherited Members

Public Attributes inherited from blender::ocio::Look
int index = -1
bool is_noop = false

Detailed Description

Definition at line 17 of file libocio_look.hh.

Constructor & Destructor Documentation

◆ LibOCIOLook()

blender::ocio::LibOCIOLook::LibOCIOLook ( int index,
const OCIO_NAMESPACE::ConstLookRcPtr & ocio_look )

Member Function Documentation

◆ description()

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

Description of the look from the OpenColorIO config.

Implements blender::ocio::Look.

Definition at line 44 of file libocio_look.hh.

◆ MEM_CXX_CLASS_ALLOC_FUNCS()

blender::ocio::LibOCIOLook::MEM_CXX_CLASS_ALLOC_FUNCS ( "LibOCIOLook" )

◆ name()

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

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

Implements blender::ocio::Look.

Definition at line 28 of file libocio_look.hh.

Referenced by ui_name().

◆ process_space()

StringRefNull blender::ocio::LibOCIOLook::process_space ( ) const
inlineoverridevirtual

process_space defines the color space the image required to be in for the math to apply correctly.

Implements blender::ocio::Look.

Definition at line 57 of file libocio_look.hh.

◆ ui_name()

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

Name of the look presented in the interface. It is typically derived from the OpenColorIO's look name by stripping the view name prefix/

Implements blender::ocio::Look.

Definition at line 36 of file libocio_look.hh.

References name().

Referenced by LibOCIOLook().

◆ view()

StringRefNull blender::ocio::LibOCIOLook::view ( ) const
inlineoverridevirtual

When not empty the look is specific to the view with the given name.

Implements blender::ocio::Look.

Definition at line 52 of file libocio_look.hh.

Referenced by LibOCIOLook().


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