Blender V5.0
blender::ColorTheme4< ChannelStorageType > Class Template Reference

#include <BLI_color_types.hh>

Inherits blender::ColorRGBA< ChannelStorageType, eSpace::Theme, eAlpha::Straight >.

Public Member Functions

constexpr ColorTheme4 ()=default
constexpr ColorTheme4 (const ChannelStorageType *rgba)
constexpr ColorTheme4 (ChannelStorageType r, ChannelStorageType g, ChannelStorageType b, ChannelStorageType a)
Public Member Functions inherited from blender::ColorRGBA< ChannelStorageType, eSpace::Theme, eAlpha::Straight >
constexpr ColorRGBA ()=default
 operator ChannelStorageType * ()
 operator const ChannelStorageType * () const
uint64_t hash () const

Additional Inherited Members

Public Attributes inherited from blender::ColorRGBA< ChannelStorageType, eSpace::Theme, eAlpha::Straight >
ChannelStorageType r
ChannelStorageType g
ChannelStorageType b
ChannelStorageType a

Detailed Description

template<typename ChannelStorageType>
class blender::ColorTheme4< ChannelStorageType >

Theme color template class.

Don't use directly, but use ColorTheme4b/ColorTheme4b.

This has been implemented as a template to improve inlining. When implemented as concrete classes (ColorTheme4b/f) the functions would be hidden in a compile unit what wouldn't be inlined.

Definition at line 176 of file BLI_color_types.hh.

Constructor & Destructor Documentation

◆ ColorTheme4() [1/3]

template<typename ChannelStorageType>
blender::ColorTheme4< ChannelStorageType >::ColorTheme4 ( )
constexprdefault

◆ ColorTheme4() [2/3]

template<typename ChannelStorageType>
blender::ColorTheme4< ChannelStorageType >::ColorTheme4 ( const ChannelStorageType * rgba)
inlineconstexpr

Definition at line 180 of file BLI_color_types.hh.

◆ ColorTheme4() [3/3]

template<typename ChannelStorageType>
blender::ColorTheme4< ChannelStorageType >::ColorTheme4 ( ChannelStorageType r,
ChannelStorageType g,
ChannelStorageType b,
ChannelStorageType a )
inlineconstexpr

Definition at line 185 of file BLI_color_types.hh.


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