
#############
A3DGlobalData
#############

.. c:struct:: A3DGlobalData

   Global data structure.
   
   
      2.0
   
   
   This structure holds the sizes of stored graphical parameters for the current :c:type:`~A3DAsmModelFile` entity. Graphical parameters are stored as arrays of following data:
   
   
   - RGB colors: the size is :c:member:`m_uiColorsSize <A3DGlobalData.m_uiColorsSize>`\ ; to access the content data, use :c:func:`~A3DGlobalGetGraphRgbColorData`\ ; to create, use :c:func:`~A3DGlobalInsertGraphRgbColor`\ ; 
   - Pictures: the size is :c:member:`m_uiPicturesSize <A3DGlobalData.m_uiPicturesSize>`\ ; to access the content data, use :c:func:`~A3DGlobalGetGraphPictureData`\ ; to create, use :c:func:`~A3DGlobalInsertGraphPicture` 
   - Texture Definitions: the size is :c:member:`m_uiTextureDefinitionsSize <A3DGlobalData.m_uiTextureDefinitionsSize>`\ ; To access the content data, use :c:func:`~A3DGlobalGetGraphTextureDefinitionData`\ ; to create, use :c:func:`~A3DGlobalInsertGraphTextureDefinition` 
   - Materials: material is a generic type for two kind of data: :c:struct:`~A3DGraphMaterialData` and :c:struct:`~A3DGraphTextureApplicationData`\ . The size of the array is :c:member:`m_uiMaterialsSize <A3DGlobalData.m_uiMaterialsSize>`\ . To get the type of the data, use :c:func:`~A3DGlobalIsMaterialTexture`\ . To access the content data, use :c:func:`~A3DGlobalGetGraphMaterialData` or :c:func:`~A3DGlobalGetGraphTextureApplicationData`\ ; to create, use :c:func:`~A3DGlobalInsertGraphMaterial` or :c:func:`~A3DGlobalInsertGraphTextureApplication` 
   - Line Patterns: the size is :c:member:`m_uiLinePatternsSize <A3DGlobalData.m_uiLinePatternsSize>`\ ; To access the content data, use :c:func:`~A3DGlobalGetGraphLinePatternData`\ ; to create, use :c:func:`~A3DGlobalInsertGraphLinePattern` 
   - Display Styles: The size is :c:member:`m_uiStylesSize <A3DGlobalData.m_uiStylesSize>`\ ; To access the content data, use :c:func:`~A3DGlobalGetGraphStyleData`\ ; to create, use :c:func:`~A3DGlobalInsertGraphStyle` 
   - Fill Patterns: This is a generic type for several kind of data. The size of the array is :c:member:`m_uiFillPatternsSize <A3DGlobalData.m_uiFillPatternsSize>`\ .  To determine the type of the data, use the :c:func:`~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``\ .
   
   
      :ref:`Graphics and Appearance <group__a3d__40__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
   =====
   
   .. rubric:: Variables
   
   
   .. rst-class:: api-xref-list
   
   
   * :c:member:`~A3DGlobalData.m_uiColorsSize`
   * :c:member:`~A3DGlobalData.m_uiFillPatternsSize`
   * :c:member:`~A3DGlobalData.m_uiLinePatternsSize`
   * :c:member:`~A3DGlobalData.m_uiMaterialsSize`
   * :c:member:`~A3DGlobalData.m_uiPicturesSize`
   * :c:member:`~A3DGlobalData.m_uiStylesSize`
   * :c:member:`~A3DGlobalData.m_uiTextureDefinitionsSize`
   * :c:member:`~A3DGlobalData.m_uiUnitsSize`
   
   



.. rst-class:: kind-group kind-variable

.. rubric:: Variables
   :class: kind-group-title


.. c:member:: A3DUns32 A3DGlobalData.m_uiColorsSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of RGB colors.
      



.. c:member:: A3DUns32 A3DGlobalData.m_uiPicturesSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of Pictures.
      



.. c:member:: A3DUns32 A3DGlobalData.m_uiTextureDefinitionsSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of Texture definitions.
      



.. c:member:: A3DUns32 A3DGlobalData.m_uiMaterialsSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of Materials.
      



.. c:member:: A3DUns32 A3DGlobalData.m_uiLinePatternsSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of LinePatterns.
      



.. c:member:: A3DUns32 A3DGlobalData.m_uiStylesSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of Styles.
      



.. c:member:: A3DUns32 A3DGlobalData.m_uiFillPatternsSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of FillPatterns.
      



.. c:member:: A3DUns32 A3DGlobalData.m_uiUnitsSize

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      Number of Units.
      
      
         12.1
      
      




