A3DGlobalData
Fields
Detailed Description
-
struct A3DGlobalData
Global data structure.
This structure holds the sizes of stored graphical parameters for the current A3DAsmModelFile entity. Graphical parameters are stored as arrays of following data:
RGB colors: the size is m_uiColorsSize; to access the content data, use A3DGlobalGetGraphRgbColorData; to create, use A3DGlobalInsertGraphRgbColor;
Pictures: the size is m_uiPicturesSize; to access the content data, use A3DGlobalGetGraphPictureData; to create, use A3DGlobalInsertGraphPicture
Texture Definitions: the size is m_uiTextureDefinitionsSize; To access the content data, use A3DGlobalGetGraphTextureDefinitionData; to create, use A3DGlobalInsertGraphTextureDefinition
Materials: material is a generic type for two kind of data: A3DGraphMaterialData and A3DGraphTextureApplicationData. The size of the array is m_uiMaterialsSize. To get the type of the data, use A3DGlobalIsMaterialTexture. To access the content data, use A3DGlobalGetGraphMaterialData or A3DGlobalGetGraphTextureApplicationData; to create, use A3DGlobalInsertGraphMaterial or A3DGlobalInsertGraphTextureApplication
Line Patterns: the size is m_uiLinePatternsSize; To access the content data, use A3DGlobalGetGraphLinePatternData; to create, use A3DGlobalInsertGraphLinePattern
Display Styles: The size is m_uiStylesSize; To access the content data, use A3DGlobalGetGraphStyleData; to create, use A3DGlobalInsertGraphStyle
Fill Patterns: This is a generic type for several kind of data. The size of the array is m_uiFillPatternsSize
.
To determine the type of the data, use the
A3DGlobalGetFillPatternTypefunction.
To access the content data, use the dedicated function for the pattern. The form for such functions is
A3DGlobalGetGraphPatternData
, whereis replaced with type of pattern.
To set the content data, use the dedicated function for the pattern. The form for such functions is
A3DGlobalInsertGraphPattern
.
See also
a3d_graphics
- Version
2.0
Note
Call the
A3DGlobalGetData
function with default index to free the data structure.Warning
The access functions
A3DGlobalGetGraphData
andA3DGlobalInsertGraph
are used with indexes instead of pointers.Public Members