Rechercher une page de manuel
cgSetSamplerState
Langue: en
Version: 47156 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgSetSamplerState - initializes the state specified for a sampler parameterSYNOPSIS
#include <Cg/cg.h>
void cgSetSamplerState( CGparameter param );
PARAMETERS
- param
- The parameter handle.
RETURN VALUES
None.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-writtenERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if param is not a valid parameter.HISTORY
cgSetSamplerState was introduced in Cg 1.4.SEE ALSO
cgCreateSamplerState, cgGetFirstSamplerState, cgGetNamedSamplerState, cgGetNextStateContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre