|
Blender
V2.93
|
#include <BLI_color.hh>
Public Member Functions | |
| Color4b ()=default | |
| Color4b (uint8_t r, uint8_t g, uint8_t b, uint8_t a) | |
| Color4b (Color4f other) | |
| operator Color4f () const | |
| operator uint8_t * () | |
| operator const uint8_t * () const | |
| uint64_t | hash () const |
Public Attributes | |
| uint8_t | r |
| uint8_t | g |
| uint8_t | b |
| uint8_t | a |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, Color4b c) |
| bool | operator== (const Color4b &a, const Color4b &b) |
| bool | operator!= (const Color4b &a, const Color4b &b) |
Definition at line 74 of file BLI_color.hh.
|
default |
Definition at line 79 of file BLI_color.hh.
|
inline |
Definition at line 83 of file BLI_color.hh.
References rgba_float_to_uchar().
|
inline |
|
inline |
Definition at line 88 of file BLI_color.hh.
References result, and rgba_uchar_to_float().
|
inline |
Definition at line 100 of file BLI_color.hh.
References r.
|
inline |
Definition at line 95 of file BLI_color.hh.
References r.
Definition at line 116 of file BLI_color.hh.
|
friend |
Definition at line 105 of file BLI_color.hh.
Definition at line 111 of file BLI_color.hh.
| uint8_t blender::Color4b::a |
Definition at line 75 of file BLI_color.hh.
Referenced by hash().
| uint8_t blender::Color4b::b |
Definition at line 75 of file BLI_color.hh.
Referenced by hash().
| uint8_t blender::Color4b::g |
Definition at line 75 of file BLI_color.hh.
Referenced by hash().
| uint8_t blender::Color4b::r |
Definition at line 75 of file BLI_color.hh.
Referenced by hash(), operator const uint8_t *(), and operator uint8_t *().