Cg Core Runtime API cgGetTextureStateAssignmentValue(3)
NAME
cgGetTextureStateAssignmentValue - get a texture-valued
state assignment's values
SYNOPSIS
#include
CGparameter cgGetTextureStateAssignmentValue( CGstateassignment sa );
PARAMETERS
sa The state assignment.
RETURN VALUES
Returns a handle to the texture parameter associated with
this state assignment.
Returns NUL if an error occurs.
DESCRIPTION
cgGetTextureStateAssignmentValue allows the application to
retrieve the value(s) of a state assignment that stores a
texture parameter.
EXAMPLES
to-be-written
ERORS
CGINVALIDSTATEASIGNMENTHANDLEROR is generated if sa
is not a valid state assignment.
CGSTATEASIGNMENTYPEMISMATCHEROR is generated if sa
is not a state assignment of a texture type.
HISTORY
cgGetTextureStateAssignmentValue was introduced in Cg 1.4.
SEE ALSO
cgGetStateAssignmentState, cgGetStateType,
cgGetFloatStateAssignmentValues,
cgGetIntStateAssignmentValues,
cgGetStringStateAssignmentValue,
cgGetSamplerStateAssignmentValue
Cg Toolkit 2.1 Last change: 1
|