# A3DGlobalData

struct `A3DGlobalData`

  Global data structure.

  > 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 is `A3DGlobalGetGraphXXXPatternData`, where `XXX`is replaced with type of pattern.To set the content data, use the dedicated function for the pattern. The form for such functions is `A3DGlobalInsertGraphXXXPattern`.

    > a3d_graphics

    > The access functions `A3DGlobalGetGraphXXXData`and `A3DGlobalInsertGraphXXX`are used with indexes instead of pointers.

    > Call the `A3DGlobalGetXXXData`function with default index to free the data structure.

  ## Index

  Variables

  - `m_uiColorsSize`
  - `m_uiPicturesSize`
  - `m_uiTextureDefinitionsSize`
  - `m_uiMaterialsSize`
  - `m_uiLinePatternsSize`
  - `m_uiStylesSize`
  - `m_uiFillPatternsSize`
  - `m_uiUnitsSize`

Variables

A3DUns32 `A3DGlobalData.``m_uiColorsSize`
  `A3DUns32`

  Number of RGB colors.

A3DUns32 `A3DGlobalData.``m_uiPicturesSize`
  `A3DUns32`

  Number of Pictures.

A3DUns32 `A3DGlobalData.``m_uiTextureDefinitionsSize`
  `A3DUns32`

  Number of Texture definitions.

A3DUns32 `A3DGlobalData.``m_uiMaterialsSize`
  `A3DUns32`

  Number of Materials.

A3DUns32 `A3DGlobalData.``m_uiLinePatternsSize`
  `A3DUns32`

  Number of LinePatterns.

A3DUns32 `A3DGlobalData.``m_uiStylesSize`
  `A3DUns32`

  Number of Styles.

A3DUns32 `A3DGlobalData.``m_uiFillPatternsSize`
  `A3DUns32`

  Number of FillPatterns.

A3DUns32 `A3DGlobalData.``m_uiUnitsSize`
  `A3DUns32`

  Number of Units.

  > 12.1

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...