
############################
A3DGlobalGetGraphPictureData
############################

.. c:function:: A3DStatus A3DGlobalGetGraphPictureData(const A3DUns32 uiIndexPicture, A3DGraphPictureData *pData)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DGlobalGetGraphPictureData(*const* :c:type:`~A3DUns32` **uiIndexPicture**\ , :c:struct:`~A3DGraphPictureData`\ \* **pData**\ )
   
   Retrieves an ``A3DGraphPictureData``\ instance.
   
   
      2.0
   
   
   HOOPS stores picture information in a global state using indexes. When given an index, call ``A3DGlobalGetGraphPictureData``\ to fill in an ``A3DGraphPictureData``\ instance.
   
   
   ::
   
      //Retrievesthepicturedataatindex3:
      A3DGraphPictureDatapicture_data=A3D_MAKE_DATA(A3DGraphPictureData);
      A3DStatusresult=A3DGlobalGetGraphPictureData(3,&picture_data);
      assert(result==A3D_SUCCESS);
   
   **Parameters**
   
   
      **uiIndexPicture**\ : The index of the picture data.
   
      **pData**\ : The ``A3DGraphPictureData``\ to fill in.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ or an error code in case of failure.
   
   




