A3DGlobalData Struct Reference
Global data structure. More...
Detailed Description
Global data structure.
- Version
- 2.0
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 A3DGlobalGetFillPatternType function.
To access the content data, use the dedicated function for the pattern. The form for such functions isA3DGlobalGetGraphXXXPatternData, whereXXXis replaced with type of pattern.
To set the content data, use the dedicated function for the pattern. The form for such functions isA3DGlobalInsertGraphXXXPattern.
- See also
- Graphics
- Warning
- The access functions
A3DGlobalGetGraphXXXDataandA3DGlobalInsertGraphXXXare used with indexes instead of pointers.
- Note
- Call the
A3DGlobalGetXXXDatafunction with default index to free the data structure.
Field Documentation
| A3DUns32 A3DGlobalData::m_uiColorsSize |
Number of RGB colors.
| A3DUns32 A3DGlobalData::m_uiFillPatternsSize |
Number of FillPatterns.
| A3DUns32 A3DGlobalData::m_uiLinePatternsSize |
Number of LinePatterns.
| A3DUns32 A3DGlobalData::m_uiMaterialsSize |
Number of Materials.
| A3DUns32 A3DGlobalData::m_uiPicturesSize |
Number of Pictures.
| A3DUns32 A3DGlobalData::m_uiStylesSize |
Number of Styles.
| A3DUns32 A3DGlobalData::m_uiTextureDefinitionsSize |
Number of Texture definitions.
| A3DUns16 A3DGlobalData::m_usStructSize |
Reserved; must be initialized with A3D_INITIALIZE_DATA.
