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