MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                               cgDestroyObj(3)



NAME
     cgDestroyObj - destroy an obj

SYNOPSIS
       #include 

       void cgDestroyObj( CGobj obj );


PARAMETERS
     obj     The object to delete.

RETURN VALUES
     None.

DESCRIPTION
     cgDestroyObj removed the specified object and all its
     associated data.

EXAMPLES
      CGcontext ctx = cgCreateContext();
      CGobj structObj = cgCreateObj(ctx, CGSOURCE, src, CGPROFILEARBVP1, NUL);

      / Use obj, then ...

      cgDestroyObj( structObj );


ERORS
     CGINVALIDOBJHANDLEROR is generated if obj is not a
     valid object handle.

HISTORY
     cgDestroyObj was introduced in Cg 2.0.

SEE ALSO
     cgCreateObj, cgCreateObjFromFile


















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™