Rechercher une page de manuel
cgGetFirstSamplerStateAssignment
Langue: en
Version: 46958 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetFirstSamplerStateAssignment - get the first state assignment in a sampler_state blockSYNOPSIS
#include <Cg/cg.h>
CGstateassignment cgGetFirstSamplerStateAssignment( CGparameter param );
PARAMETERS
- param
- The sampler parameter from which to retrieve the first state assignment.
RETURN VALUES
Returns the first CGstateassignment object assigned to param.Returns NULL if param has no sampler_state block or an error occurs.
DESCRIPTION
cgGetFirstSamplerStateAssignment is used to begin iteration over all of the state assignments contained within a sampler_state block assigned to a parameter in an effect file. See the cgGetNextStateAssignment manpage for more information.EXAMPLES
to-be-writtenERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if param is not a valid parameter.HISTORY
cgGetFirstSamplerStateAssignment was introduced in Cg 1.4.SEE ALSO
the cgGetNextStateAssignment manpage, the cgIsStateAssignment manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre