MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                            cgGetFirstState(3)



NAME
     cgGetFirstState - get the first state definition in a
     context

SYNOPSIS
       #include 

       CGstate cgGetFirstState( CGcontext context );


PARAMETERS
     context The context from which to retrieve the first state
             definition.

RETURN VALUES
     Returns the first CGstate object in context.

     Returns NUL if context contains no state definitions or an
     error occurs.

DESCRIPTION
     cgGetFirstState is used to begin iteration over all of the
     state definitions contained within a context.  See
     cgGetNextState for more information.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDCONTEXTHANDLEROR is generated if context is
     not a valid context.

HISTORY
     cgGetFirstState was introduced in Cg 1.4.

SEE ALSO
     cgGetNextState, cgGetNamedState, cgIsState


















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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