OpenVDB
9.0.1
|
8-bit red, green, blue, alpha packed into 32 bit unsigned int More...
#include <nanovdb/NanoVDB.h>
Public Types | |
using | ValueType = uint8_t |
Public Member Functions | |
Rgba8 (const Rgba8 &)=default | |
Rgba8 (Rgba8 &&)=default | |
Rgba8 & | operator= (Rgba8 &&)=default |
Rgba8 & | operator= (const Rgba8 &)=default |
Rgba8 () | |
Rgba8 (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255u) | |
Rgba8 (uint8_t v) | |
Rgba8 (float r, float g, float b, float a=1.0f) | |
bool | operator< (const Rgba8 &rhs) const |
bool | operator== (const Rgba8 &rhs) const |
float | lengthSqr () const |
float | length () const |
const uint8_t & | operator[] (int n) const |
uint8_t & | operator[] (int n) |
const uint32_t & | packed () const |
uint32_t & | packed () |
const uint8_t & | r () const |
const uint8_t & | g () const |
const uint8_t & | b () const |
const uint8_t & | a () const |
uint8_t & | r () |
uint8_t & | g () |
uint8_t & | b () |
uint8_t & | a () |
Static Public Attributes | |
static const int | SIZE = 4 |
8-bit red, green, blue, alpha packed into 32 bit unsigned int
using ValueType = uint8_t |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint8_t c[4] |
uint32_t packed |
|
static |