.. role:: clio-deprecated
   :class: clio-flag clio-flag-deprecated


#################
A3DGraphicsDelete
#################

.. c:function:: A3DStatus A3DGraphicsDelete(A3DGraphics *pGraphics)

   .. rst-class:: clio-flags
   
      :clio-deprecated:`deprecated`
   
   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DGraphicsDelete(:c:type:`~A3DGraphics`\ * **pGraphics**\ )
   
   Deletes an :c:type:`~A3DGraphics` entity. 
   
   
      2.0
   
   
   
   Once created with ``A3DGraphicsCreate``\ , a graphics entity must be integrated within a model file so that HOOPS is responsible for its memory management. If the entity is created but never used, it is up to your application to request for its deletion by calling ``A3DGraphicsDelete`` on it.
   
   
   .. warning::
   
      This function is deprecated. Please use :c:func:`~A3DEntityDelete` instead to implement the same behaviour. This will be removed in version 2028.1.0.
   
   
   **Parameters**
   
   
      **pGraphics**\ : A handle to the entity to delete. 
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` or an error code in case of failure.
   
   




