NAME
cgGetSamplerStateAssignmentValue - get a sampler-valued state assignment's values
SYNOPSIS
#include <Cg/cg.h> CGparameter cgGetSamplerStateAssignmentValue(CGstateassignment sa);PARAMETERS
- sa
Specifies the state assignment.
DESCRIPTION
cgGetSamplerStateAssignmentValues allows the application to retrieve the value(s) of a state assignment that stores a sampler.
RETURN VALUES
Returns a CGparameter handle for the sampler.
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 a sampler parameter.
SEE ALSO
the "cgGetStateAssignmentState" document, the "cgGetStateType" document, the "cgGetFloatStateAssignmentValues" document, the "cgGetIntStateAssignmentValues" document, the "cgGetBoolStateAssignmentValues" document, the "cgGetStringStateAssignmentValue" document, the "cgGetProgramStateAssignmentValue" document, and the "cgGetTextureStateAssignmentValue" document