NAME
cgGetParameterName - get a program parameter's name
SYNOPSIS
#include <Cg/cg.h> const char * cgGetParameterName( CGparameter param );PARAMETERS
- param
Specifies the program parameter.
DESCRIPTION
cgGetParameterName allows the application to retrieve the name of a parameter in a Cg program. This name can be used later to retrieve the parameter from the program using cgGetNamedParameter.
RETURN VALUES
Returns the null-terminated name string for the parameter.
Returns null if param is invalid.
ERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if param does not refer to a valid parameter.
SEE ALSO
cgGetNamedParameter, cgGetNextParameter, cgGetParameterType, cgGetParameterVariablity, cgGetParameterDirection, cgIsArray, cgSetParameterVariablity,