NAME
    cgGetProgramStateAssignmentValue - get a program-valued state
    assignment's values

SYNOPSIS
      #include <Cg/cg.h>

      CGprogram cgGetProgramStateAssignmentValue(CGstateassignment sa);

PARAMETERS
    sa      Specifies the state assignment.

DESCRIPTION
    cgGetProgramStateAssignmentValues allows the application to retrieve the
    value(s) of a state assignment that stores a CGprogram.

RETURN VALUES
    Returns a CGprogram handle.

ERRORS
    CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR is generated if the handle sa
    is invalid.

    CG_INVALID_PARAMETER_TYPE_ERROR is generated if the state assignment is
    not CGprogram-typed.

SEE ALSO
    the cgGetStateAssignmentState manpage, the cgGetStateType manpage, the
    cgGetFloatStateAssignmentValues manpage, the
    cgGetIntStateAssignmentValues manpage, the
    cgGetBoolStateAssignmentValues manpage, the
    cgGetStringStateAssignmentValue manpage, the
    cgGetProgramStateAssignmentValue manpage, the
    cgGetSamplerStateAssignmentValue manpage, and the
    cgGetTextureStateAssignmentValue manpage

