A3DGraphicsData

struct A3DGraphicsData

Main description of graphics properties within an A3DRootBaseWithGraphicsinstance.

2.0

The A3DGraphicsDatastructure serves as an entry point for describing all the graphics properties of an A3DRootBaseWithGraphicsinstance.

The structure mainly serves as a container for a style index, defined with m_uiStyleIndex. This value is used within A3DGlobalGetGraphStyleDatato fill in a A3DGraphStyleData.

Objects can be organized by assigning them into layers. All the items inside a same layer are processed as a group. A layer is a numeric identifier which is set with m_uiLayerIndex. When no specific layer is set, m_uiLayerIndexcan be A3D_DEFAULT_LAYER.

m_usBehaviourdescribes the propagation policy for the graphics properties of the object within a model file.

As initializing the structure is done by calling A3D_INITIALIZE_DATA, the operation will set all the fields to zero. The initial value of m_usBehaviourwill thus hide the object from display.

A3DGraphicsGet()

A3DGraphicsCreate()

A3DEntityDelete()

Variables

A3DUns32 A3DGraphicsData.m_uiLayerIndex

A layer identifier of A3D_DEFAULT_LAYER

A3DUns32 A3DGraphicsData.m_uiStyleIndex

An index to a global A3DGraphStyleDatainstance.

A3DUns16 A3DGraphicsData.m_usBehaviour

Graphics properties propagation policy. See Bit Field for Behavior on Graphics.