NAME
    cgGetStateAssignmentState - returns the state type of a particular state
    assignment

SYNOPSIS
      #include <Cg/cg.h>

      CGstate cgGetStateAssignmentState( CGstateassignment sa );

PARAMETERS
    sa      The state assignment handle.

RETURN VALUES
    *to-be-written*

DESCRIPTION
    cgGetStateAssignmentState returns the CGstate object that corresponding
    to a particular state assignment in a pass. This object can then be
    queried to find out its type, giving the type of the state assignment.

EXAMPLES
    *to-be-written*

ERRORS
    CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR is generated if sa is not a
    valid state assignment handle.

HISTORY
    cgGetStateAssignmentState was introduced in Cg 1.4.

SEE ALSO
    the cgGetStateType manpage

