Stores packed colors. More...
#include <Inventor/misc/SoColorPacker.h>
Public Member Functions | |
SoColorPacker () | |
~SoColorPacker () | |
uint32_t * | getPackedColors () const |
SbBool | diffuseMatch (uint64_t nodeId) |
SbBool | transpMatch (uint64_t nodeId) |
void | setNodeIds (uint64_t diffNodeId, uint64_t tNodeId) |
int32_t | getSize () |
void | reallocate (int32_t size) |
Static Public Member Functions | |
static void | exitClass () |
Stores packed colors.
This class is meant to be used by all property nodes that set either a diffuse color or transparency in the lazy element. It maintains a cache of the current diffuse color and transparency in a packed color array.
Definition at line 42 of file SoColorPacker.h.
SoColorPacker::SoColorPacker | ( | ) |
SoColorPacker::~SoColorPacker | ( | ) |
|
inline |
Definition at line 59 of file SoColorPacker.h.
|
static |
|
inline |
Definition at line 56 of file SoColorPacker.h.
|
inline |
Definition at line 69 of file SoColorPacker.h.
void SoColorPacker::reallocate | ( | int32_t | size | ) |
|
inline |
Definition at line 65 of file SoColorPacker.h.
|
inline |
Definition at line 62 of file SoColorPacker.h.