Rechercher une page de manuel
cgGetFirstSamplerState
Langue: en
Version: 46957 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetFirstSamplerState - get the first sampler state definition in a contextSYNOPSIS
#include <Cg/cg.h>
CGstate cgGetFirstSamplerState( CGcontext context );
PARAMETERS
- context
- The context from which to retrieve the first sampler state definition.
RETURN VALUES
Returns the first CGstate object in context.Returns NULL if context contains no programs or an error occurs.
DESCRIPTION
cgGetFirstSamplerState is used to begin iteration over all of the sampler state definitions contained within a context. See the cgGetNextState manpage for more information.EXAMPLES
to-be-writtenERRORS
CG_INVALID_CONTEXT_HANDLE_ERROR is generated if context is not a valid context.HISTORY
cgGetFirstSamplerState was introduced in Cg 1.4.SEE ALSO
the cgGetNextState manpage, the cgGetNamedSamplerState manpage, the cgIsSamplerState manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre