Cg Core Runtime API cgCreateSamplerStateAssignment(3)
NAME
cgCreateSamplerStateAssignment - create a sampler state
assignment
SYNOPSIS
#include
CGstateassignment cgCreateSamplerStateAssignment( CGparameter param,
CGstate state );
PARAMETERS
param The sampler parameter to which the new state
assignment will be associated.
state The state for which to create the new state
assignment.
RETURN VALUES
Returns the handle to the created sampler state assignment.
DESCRIPTION
cgCreateSamplerStateAssignment creates a new state
assignment for the given state and sampler parameter.
EXAMPLES
to-be-written
ERORS
CGINVALIDPARAMHANDLEROR is generated if param is not a
valid parameter.
CGINVALIDSTATEHANDLEROR is generated if state is not a
valid state.
HISTORY
cgCreateSamplerStateAssignment was introduced in Cg 1.5.
SEE ALSO
cgCreateTechnique, cgCreateStateAssignment,
cgCreateSamplerState
Cg Toolkit 2.1 Last change: 1
|