Open Inventor Reference
SoLazyElement.h File Reference

Go to the source code of this file.

Classes

class  SoLazyElement
 Element that manages several properties such as colors, that need to be lazily tracked by GL. More...
 
struct  SoLazyElement::ivStateStruct
 Struct to hold the inventor state: More...
 
class  SoColorPacker
 This class is meant to be used by all property nodes that set either a diffuse color or transparency in the lazy element. More...
 

Macros

#define SO_LAZY_SHINY_THRESHOLD   0.005
 threshold to ignore changes in shininess:
 
#define SO_LAZY_NUM_COMPONENTS   9
 number of components (subelements) in this element:
 

Typedefs

typedef void SoDrawElementsCallback(void *userData, SoState *state, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
 
typedef void SoDrawArraysCallback(void *userData, SoState *state, GLenum mode, GLint first, GLsizei count)
 

Macro Definition Documentation

◆ SO_LAZY_NUM_COMPONENTS

#define SO_LAZY_NUM_COMPONENTS   9

Definition at line 88 of file SoLazyElement.h.

◆ SO_LAZY_SHINY_THRESHOLD

#define SO_LAZY_SHINY_THRESHOLD   0.005

Definition at line 85 of file SoLazyElement.h.

Typedef Documentation

◆ SoDrawArraysCallback

typedef void SoDrawArraysCallback(void *userData, SoState *state, GLenum mode, GLint first, GLsizei count)

Definition at line 95 of file SoLazyElement.h.

◆ SoDrawElementsCallback

typedef void SoDrawElementsCallback(void *userData, SoState *state, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)

Definition at line 90 of file SoLazyElement.h.