NAME

cgGetStringStateAssignmentValue - get a string-valued state assignment's values

SYNOPSIS

  #include <Cg/cg.h>

  const char *cgGetStringStateAssignmentValue(CGstateassignment sa);

PARAMETERS

sa

Specifies the state assignment.

DESCRIPTION

cgGetStringStateAssignmentValues allows the application to retrieve the value(s) of a string typed state assignment.

RETURN VALUES

Returns a pointer to a string.

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 string-typed.

SEE ALSO

the "cgGetStateAssignmentState" document, the "cgGetStateType" document, the "cgGetFloatStateAssignmentValues" document, the "cgGetIntStateAssignmentValues" document, the "cgGetBoolStateAssignmentValue" document, the "cgGetProgramStateAssignmentValue" document, the "cgGetSamplerStateAssignmentValue" document, and the "cgGetTextureStateAssignmentValue" document