
###############
A3DGraphicsData
###############

.. c:struct:: A3DGraphicsData

   Main description of graphics properties within an ``A3DRootBaseWithGraphics`` instance. 
   
   
      2.0
   
   
   
   The ``A3DGraphicsData`` structure serves as an entry point for describing all the graphics properties of an ``A3DRootBaseWithGraphics`` instance.
   
   The structure mainly serves as a container for a style index, defined with ``m_uiStyleIndex``\ . This value is used within ``A3DGlobalGetGraphStyleData`` to fill in a ``A3DGraphStyleData``\ .
   
   Objects can be organized by assigning them into layers. All the items inside a same layer are processed as a group. A layer is a numeric identifier which is set with ``m_uiLayerIndex``\ . When no specific layer is set, ``m_uiLayerIndex`` can be ``A3D_DEFAULT_LAYER``\ .
   
   ``m_usBehaviour`` describes the propagation policy for the graphics properties of the object within a model file.
   
   
      As initializing the structure is done by calling ``A3D_INITIALIZE_DATA``\ , the operation will set all the fields to zero. The initial value of ``m_usBehaviour`` will thus hide the object from display.
   
   
   
      :c:func:`~A3DGraphicsGet` 
   
   
   
      :c:func:`~A3DGraphicsCreate` 
   
   
   
      :c:func:`~A3DEntityDelete` 
   
   
   
   Index
   =====
   
   .. rubric:: Variables
   
   
   .. rst-class:: api-xref-list
   
   
   * :c:member:`~A3DGraphicsData.m_uiLayerIndex`
   * :c:member:`~A3DGraphicsData.m_uiStyleIndex`
   * :c:member:`~A3DGraphicsData.m_usBehaviour`
   
   



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

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


.. c:member:: A3DUns32 A3DGraphicsData.m_uiLayerIndex

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      A layer identifier of ``A3D_DEFAULT_LAYER`` 
      



.. c:member:: A3DUns32 A3DGraphicsData.m_uiStyleIndex

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      An index to a global ``A3DGraphStyleData`` instance. 
      



.. c:member:: A3DUns16 A3DGraphicsData.m_usBehaviour

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns16`
      
      Graphics properties propagation policy. See :ref:`Bit Field for Behavior on Graphics <group__a3d__graphicsbits>`\ . 
      




