Blender V4.3
BLI_color.hh File Reference
#include <ostream>
#include "BLI_math_color.h"
#include "BLI_struct_equality_utils.hh"

Go to the source code of this file.

Classes

class  blender::ColorRGBA< ChannelStorageType, Space, Alpha >
 
class  blender::ColorSceneLinear4f< Alpha >
 
class  blender::ColorSceneLinearByteEncoded4b< Alpha >
 
class  blender::ColorTheme4< ChannelStorageType >
 

Namespaces

namespace  blender
 

Typedefs

using blender::ColorTheme4b = ColorTheme4<uint8_t>
 
using blender::ColorTheme4f = ColorTheme4<float>
 
using blender::ColorGeometry4f = ColorSceneLinear4f<eAlpha::Premultiplied>
 
using blender::ColorGeometry4b = ColorSceneLinearByteEncoded4b<eAlpha::Premultiplied>
 
using blender::ColorPaint4f = ColorSceneLinear4f<eAlpha::Straight>
 
using blender::ColorPaint4b = ColorSceneLinearByteEncoded4b<eAlpha::Straight>
 

Enumerations

enum class  blender::eAlpha { blender::Straight , blender::Premultiplied }
 
enum class  blender::eSpace { blender::Theme , blender::SceneLinear , blender::SceneLinearByteEncoded }
 

Functions

std::ostream & blender::operator<< (std::ostream &stream, const eAlpha &space)
 
std::ostream & blender::operator<< (std::ostream &stream, const eSpace &space)
 
BLI_INLINE ColorTheme4< floatblender::BLI_color_convert_to_theme4f (const ColorTheme4< uint8_t > &theme4b)
 
BLI_INLINE ColorTheme4< uint8_tblender::BLI_color_convert_to_theme4b (const ColorTheme4< float > &theme4f)
 
BLI_INLINE ColorTheme4f blender::BLI_color_convert_to_theme4f (const ColorTheme4b &theme4b)
 
BLI_INLINE ColorSceneLinear4f< eAlpha::Straightblender::BLI_color_convert_to_scene_linear (const ColorTheme4f &theme4f)
 
BLI_INLINE ColorSceneLinear4f< eAlpha::Straightblender::BLI_color_convert_to_scene_linear (const ColorTheme4b &theme4b)
 
BLI_INLINE ColorTheme4f blender::BLI_color_convert_to_theme4f (const ColorSceneLinear4f< eAlpha::Straight > &scene_linear)
 
BLI_INLINE ColorTheme4b blender::BLI_color_convert_to_theme4b (const ColorSceneLinear4f< eAlpha::Straight > &scene_linear)