8-bit red, green, blue, alpha packed into 32 bit unsigned int
More...
#include <NanoVDB.h>
8-bit red, green, blue, alpha packed into 32 bit unsigned int
Definition at line 1840 of file NanoVDB.h.
nanovdb::Rgba8::Rgba8 |
( |
const Rgba8 & |
| ) |
|
|
default |
Default copy constructor.
nanovdb::Rgba8::Rgba8 |
( |
Rgba8 && |
| ) |
|
|
default |
Default move constructor.
Default ctor initializes all channels to zero.
Definition at line 1867 of file NanoVDB.h.
__hostdev__ nanovdb::Rgba8::Rgba8 |
( |
uint8_t |
r, |
|
|
uint8_t |
g, |
|
|
uint8_t |
b, |
|
|
uint8_t |
a = 255u |
|
) |
| |
|
inline |
integer r,g,b,a ctor where alpha channel defaults to opaque
- Note
- all values should be in the range 0u to 255u
Definition at line 1875 of file NanoVDB.h.
Default move assignment operator.
- Returns
- non-const reference to this instance
Rgba8& nanovdb::Rgba8::operator= |
( |
const Rgba8 & |
| ) |
|
|
default |
Default copy assignment operator.
- Returns
- non-const reference to this instance
uint8_t nanovdb::Rgba8::c[4] |
uint32_t nanovdb::Rgba8::packed |
const int nanovdb::Rgba8::SIZE = 4 |
|
static |
The documentation for this class was generated from the following file: