Rechercher une page de manuel
cgGetParameterSemantic
Langue: en
Version: 47026 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetParameterSemantic - get a parameter's semanticSYNOPSIS
#include <Cg/cg.h>
const char * cgGetParameterSemantic( CGparameter param );
PARAMETERS
- param
- The parameter.
RETURN VALUES
Returns the NULL-terminated semantic string for the parameter.Returns NULL if an error occurs.
DESCRIPTION
cgGetParameterSemantic allows the application to retrieve the semantic of a parameter in a Cg program. If a uniform parameter does not have a user-assigned semantic, an empty string will be returned. If a varying parameter does not have a user-assigned semantic, the semantic string corresponding to the compiler-assigned resource for that varying will be returned.EXAMPLES
to-be-writtenERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if param is not a valid parameter.HISTORY
cgGetParameterSemantic was introduced in Cg 1.1.SEE ALSO
the cgGetParameterResource manpage, the cgGetParameterResourceIndex manpage, the cgGetParameterName manpage, the cgGetParameterType manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre