NAME
cgGetParameterSemantic - get a parameter's semantic
SYNOPSIS
#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 the parameter does not have a semantic assigned to it, an empty string will be returned.
EXAMPLES
to-be-written
ERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if the handle param is invalid.
HISTORY
cgGetParameterSemantic was introduced in Cg 1.1.
SEE ALSO
cgGetParameterResource, cgGetParameterResourceIndex, cgGetParameterName, cgGetParameterType