Cg Core Runtime API cgGetParameterName(3)
NAME
cgGetParameterName - get a program parameter's name
SYNOPSIS
#include
const char * cgGetParameterName( CGparameter param );
PARAMETERS
param The program parameter.
RETURN VALUES
Returns the NUL-terminated name string for the parameter.
Returns NUL if param is invalid.
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.
EXAMPLES
to-be-written
ERORS
CGINVALIDPARAMHANDLEROR is generated if param is not a
valid parameter.
HISTORY
cgGetParameterName was introduced in Cg 1.1.
SEE ALSO
cgGetNamedParameter, cgGetNextParameter, cgGetParameterType,
cgGetParameterVariability, cgGetParameterDirection,
cgSetParameterVariability
Cg Toolkit 2.1 Last change: 1
|