Open Inventor Reference
SoLazyElement::ivStateStruct Struct Reference

Struct to hold the inventor state: More...

#include <Inventor/elements/SoLazyElement.h>

Public Attributes

SbNodeIdType diffuseNodeId
 Keep nodeID to compare diffuse GL and diffuse inventor state: 0 is initial value, 1 is invalid

 
SbNodeIdType transpNodeId
 for transparency, keep either nodeid, or 0 if opaque.
 
SbColor ambientColor
 store a value of each color component; ambient, emissive, specular, shininess, or appropriate info to identify state.
 
SbColor emissiveColor
 
SbColor specularColor
 
float shininess
 
bool colorMaterial
 
bool blending
 
int32_t lightModel
 
int32_t stippleNum
 
bool packed
 following are not used for matching GL & IV, but must be copied on push:

 
bool packedTransparent
 
int32_t numDiffuseColors
 
int32_t numTransparencies
 
const SbColordiffuseColors
 
const float * transparencies
 
const uint32_tpackedColors
 
int32_t transpType
 
uint32_t cacheLevelSetBits
 
uint32_t cacheLevelSendBits
 
bool overrideBlending
 
bool useVertexAttributes
 
SoDrawArraysCallbackdrawArraysCallback
 
void * drawArraysCallbackUserData
 
SoDrawElementsCallbackdrawElementsCallback
 
void * drawElementsCallbackUserData
 

Detailed Description

Definition at line 311 of file SoLazyElement.h.

Member Data Documentation

◆ ambientColor

SbColor SoLazyElement::ivStateStruct::ambientColor

Definition at line 322 of file SoLazyElement.h.

◆ blending

bool SoLazyElement::ivStateStruct::blending

Definition at line 327 of file SoLazyElement.h.

◆ cacheLevelSendBits

uint32_t SoLazyElement::ivStateStruct::cacheLevelSendBits

Definition at line 342 of file SoLazyElement.h.

◆ cacheLevelSetBits

uint32_t SoLazyElement::ivStateStruct::cacheLevelSetBits

Definition at line 341 of file SoLazyElement.h.

◆ colorMaterial

bool SoLazyElement::ivStateStruct::colorMaterial

Definition at line 326 of file SoLazyElement.h.

◆ diffuseColors

const SbColor* SoLazyElement::ivStateStruct::diffuseColors

Definition at line 337 of file SoLazyElement.h.

◆ diffuseNodeId

SbNodeIdType SoLazyElement::ivStateStruct::diffuseNodeId

Definition at line 314 of file SoLazyElement.h.

◆ drawArraysCallback

SoDrawArraysCallback* SoLazyElement::ivStateStruct::drawArraysCallback

Definition at line 347 of file SoLazyElement.h.

◆ drawArraysCallbackUserData

void* SoLazyElement::ivStateStruct::drawArraysCallbackUserData

Definition at line 348 of file SoLazyElement.h.

◆ drawElementsCallback

SoDrawElementsCallback* SoLazyElement::ivStateStruct::drawElementsCallback

Definition at line 349 of file SoLazyElement.h.

◆ drawElementsCallbackUserData

void* SoLazyElement::ivStateStruct::drawElementsCallbackUserData

Definition at line 350 of file SoLazyElement.h.

◆ emissiveColor

SbColor SoLazyElement::ivStateStruct::emissiveColor

Definition at line 323 of file SoLazyElement.h.

◆ lightModel

int32_t SoLazyElement::ivStateStruct::lightModel

Definition at line 328 of file SoLazyElement.h.

◆ numDiffuseColors

int32_t SoLazyElement::ivStateStruct::numDiffuseColors

Definition at line 335 of file SoLazyElement.h.

◆ numTransparencies

int32_t SoLazyElement::ivStateStruct::numTransparencies

Definition at line 336 of file SoLazyElement.h.

◆ overrideBlending

bool SoLazyElement::ivStateStruct::overrideBlending

Definition at line 343 of file SoLazyElement.h.

◆ packed

bool SoLazyElement::ivStateStruct::packed

Definition at line 333 of file SoLazyElement.h.

◆ packedColors

const uint32_t* SoLazyElement::ivStateStruct::packedColors

Definition at line 339 of file SoLazyElement.h.

◆ packedTransparent

bool SoLazyElement::ivStateStruct::packedTransparent

Definition at line 334 of file SoLazyElement.h.

◆ shininess

float SoLazyElement::ivStateStruct::shininess

Definition at line 325 of file SoLazyElement.h.

◆ specularColor

SbColor SoLazyElement::ivStateStruct::specularColor

Definition at line 324 of file SoLazyElement.h.

◆ stippleNum

int32_t SoLazyElement::ivStateStruct::stippleNum

Definition at line 329 of file SoLazyElement.h.

◆ transparencies

const float* SoLazyElement::ivStateStruct::transparencies

Definition at line 338 of file SoLazyElement.h.

◆ transpNodeId

SbNodeIdType SoLazyElement::ivStateStruct::transpNodeId

Value of 1 indicates invalid.

Definition at line 318 of file SoLazyElement.h.

◆ transpType

int32_t SoLazyElement::ivStateStruct::transpType

Definition at line 340 of file SoLazyElement.h.

Referenced by SoGLLazyElement::lazyMatches().

◆ useVertexAttributes

bool SoLazyElement::ivStateStruct::useVertexAttributes

Definition at line 345 of file SoLazyElement.h.


The documentation for this struct was generated from the following file: