Open Inventor Reference
|
This class is meant to be used by all property nodes that set either a diffuse color or transparency in the lazy element. More...
#include <Inventor/elements/SoLazyElement.h>
Public Member Functions | |
SoColorPacker () | |
Constructor, makes a colorPacker with NULL packedColor pointer: | |
~SoColorPacker () | |
destructor, deletes packed color array | |
uint32_t * | getPackedColors () const |
SbBool | diffuseMatch (uint32_t nodeId) |
SbBool | transpMatch (uint32_t nodeId) |
void | setNodeIds (uint32_t diffNodeId, uint32_t tNodeId) |
int32_t | getSize () |
void | reallocate (int32_t size) |
It maintains a cache of the current diffuse color and transparency in a packed color array.
Definition at line 377 of file SoLazyElement.h.
SoColorPacker::SoColorPacker | ( | ) |
SoColorPacker::~SoColorPacker | ( | ) |
Definition at line 388 of file SoLazyElement.h.
uint32_t* SoColorPacker::getPackedColors | ( | ) | const [inline] |
Definition at line 385 of file SoLazyElement.h.
int32_t SoColorPacker::getSize | ( | ) | [inline] |
Definition at line 397 of file SoLazyElement.h.
void SoColorPacker::reallocate | ( | int32_t | size | ) |
Definition at line 394 of file SoLazyElement.h.
Definition at line 391 of file SoLazyElement.h.