Accesses global definitions used by all PRC entities. More...
Data Structures | |
struct | A3DGlobalData |
Global data structure. More... | |
Functions | |
A3DStatus | A3DGlobalGet (const A3DGlobal *pGlobal, A3DGlobalData *pData) |
Populates the A3DGlobalData structure. More... | |
A3DStatus | A3DGlobalGetFillPatternType (const A3DUns32 uiIndexPattern, A3DEEntityType *pePatternType) |
Gives the FillPattern type of the uiIndexPattern index in the global array of fill patterns. More... | |
A3DStatus | A3DGlobalGetPointer (A3DGlobal **ppGlobal) |
Gets the global object A3DGlobal. More... | |
A3DStatus | A3DGlobalIsMaterialTexture (const A3DUns32 uiIndexMaterial, A3DBool *pbIsTexture) |
Determines whether the data at the index uiIndexMaterial in the global array of materials is an A3DGraphTextureApplication or an A3DGraphMaterialData. More... | |
Detailed Description
Accesses global definitions used by all PRC entities.
This module defines the data for commonly used attributes, such as colors, textures, materials, and patterns. Global data is stored in the session's global memory, separate from the A3DAsmModelFile. Global data can be accessed independently from A3DAsmModelFile. Therefore, you can access colors, textures, materials, and patterns that may or may not be used by the entities that are used in an A3DAsmModelFile. All these global arrays are filled when reading the PRC physical file and optimized to save place. For instance, if two entities uses the same color definition (same triplet RGB), only one color will be stored in the array.
Function Documentation
Gets the global object A3DGlobal.
- Version
- 2.0
A3DStatus A3DGlobalGet | ( | const A3DGlobal * | pGlobal, |
A3DGlobalData * | pData | ||
) |
Populates the A3DGlobalData structure.
- Version
- 2.0
Determines whether the data at the index uiIndexMaterial in the global array of materials is an A3DGraphTextureApplication or an A3DGraphMaterialData.
- Version
- 2.0
- See also
- Texture Application
A3DStatus A3DGlobalGetFillPatternType | ( | const A3DUns32 | uiIndexPattern, |
A3DEEntityType * | pePatternType | ||
) |
Gives the FillPattern type of the uiIndexPattern index in the global array of fill patterns.
- Version
- 2.0 A FillPattern type can be one of the following types: