Blender  V3.3
Classes | Namespaces | Typedefs | Enumerations | Functions
BLI_color.hh File Reference
#include <iostream>
#include "BLI_math_color.h"

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

 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 > &srgb4b)
 
BLI_INLINE ColorTheme4< uint8_tblender::BLI_color_convert_to_theme4b (const ColorTheme4< float > &srgb4f)
 
BLI_INLINE ColorTheme4f blender::BLI_color_convert_to_theme4f (const ColorTheme4b &theme4b)
 
BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > blender::BLI_color_convert_to_scene_linear (const ColorTheme4f &theme4f)
 
BLI_INLINE ColorSceneLinear4f< eAlpha::Straight > blender::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)