|
Blender V4.5
|
#include <BLI_color.hh>
Inherits blender::ColorRGBA< uint8_t, eSpace::SceneLinearByteEncoded, Alpha >.
Public Member Functions | |
| constexpr | ColorSceneLinearByteEncoded4b ()=default |
| constexpr | ColorSceneLinearByteEncoded4b (const uint8_t *rgba) |
| constexpr | ColorSceneLinearByteEncoded4b (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
| ColorSceneLinear4f< Alpha > | decode () const |
| Public Member Functions inherited from blender::ColorRGBA< uint8_t, eSpace::SceneLinearByteEncoded, Alpha > | |
| constexpr | ColorRGBA ()=default |
| operator uint8_t * () | |
| operator const uint8_t * () const | |
| uint64_t | hash () const |
Additional Inherited Members | |
| Public Attributes inherited from blender::ColorRGBA< uint8_t, eSpace::SceneLinearByteEncoded, Alpha > | |
| uint8_t | r |
| uint8_t | g |
| uint8_t | b |
| uint8_t | a |
Definition at line 211 of file BLI_color.hh.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 216 of file BLI_color.hh.
|
inlineconstexpr |
Definition at line 221 of file BLI_color.hh.
|
inline |
Convert to a float color.
Definition at line 229 of file BLI_color.hh.
Referenced by blender::bke::byte_color_to_color(), blender::bke::byte_color_to_float(), blender::bke::byte_color_to_float2(), blender::bke::byte_color_to_float3(), blender::bke::byte_color_to_float4(), blender::bke::byte_color_to_int(), blender::bke::byte_color_to_int8(), blender::gpu::convert(), blender::io::usd::detail::convert_value(), and blender::tests::TEST().