Support Forum G3D Web Page |
Represents a single-channel color on [0, 1] with G3D::unorm8 precision.
More...
Public Member Functions | |
Color1unorm8 () | |
Color1unorm8 (const unorm8 _v) | |
Color1unorm8 (const class Color1 &c) | |
Color1unorm8 (class BinaryInput &bi) | |
void | deserialize (class BinaryInput &bi) |
bool | operator!= (const Color1unorm8 &other) const |
bool | operator== (const Color1unorm8 &other) const |
void | serialize (class BinaryOutput &bo) const |
Public Attributes | |
unorm8 | value |
Represents a single-channel color on [0, 1] with G3D::unorm8 precision.
Equivalent to OpenGL GL_R8, GL_A8, and GL_L8 formats.
|
inline |
|
inlineexplicit |
|
explicit |
|
explicit |
void G3D::Color1unorm8::deserialize | ( | class BinaryInput & | bi | ) |
|
inline |
|
inline |
void G3D::Color1unorm8::serialize | ( | class BinaryOutput & | bo | ) | const |
unorm8 G3D::Color1unorm8::value |
Referenced by operator!=(), and operator==().