MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                   cgGetStateAssignmentPass(3)



NAME
     cgGetStateAssignmentPass - get a state assignment's pass

SYNOPSIS
       #include 

       CGpass cgGetStateAssignmentPass( CGstateassignment sa );


PARAMETERS
     sa      The state assignment.

RETURN VALUES
     Returns a CGpass handle to the pass.

     Returns NUL if an error occurs.

DESCRIPTION
     cgGetStateAssignmentPass allows the application to retrieve
     a handle to the pass to which a given stateassignment
     belongs.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDSTATEASIGNMENTHANDLEROR is generated if sa
     is not a valid state assignment.

HISTORY
     cgGetStateAssignmentPass was introduced in Cg 1.4.

SEE ALSO
     cgIsStateAssignment, cgIsPass





















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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