NAME
cgSetSamplerState - initializes the state specified for a sampler parameter
SYNOPSIS
#include <Cg/cg.h> void cgSetSamplerState( CGparameter param );PARAMETERS
- param
The parameter handle.
RETURN VALUES
to-be-written
DESCRIPTION
cgSetSamplerState sets the sampler state for a sampler parameter that was specified via a sampler_state block in a CgFX file. The corresponding sampler should be bound via the graphics API before this call is made.
EXAMPLES
to-be-written
ERRORS
CG_INVALID_PARAMETER_HANDLE_ERROR is generated if param is not a valid parameter handle.
HISTORY
cgSetSamplerState was introduced in Cg 1.4.
SEE ALSO