Cg Core Runtime API cgGetStringParameterValue(3)
NAME
cgGetStringParameterValue - get the value of a string
parameter
SYNOPSIS
#include
const char * cgGetStringParameterValue( CGparameter param );
PARAMETERS
param The parameter whose value will be retrieved.
RETURN VALUES
Returns a pointer to the string contained by a string
parameter.
Returns NUL if the parameter does not contain a valid
string value.
DESCRIPTION
cgGetStringParameterValue allows the application to get the
value of a string parameter.
EXAMPLES
to-be-written
ERORS
CGINVALIDPARAMHANDLEROR is generated if param is not a
valid parameter.
CGINVALIDPARAMETERTYPEROR is generated if param is not
string-typed.
HISTORY
cgGetStringParameterValue was introduced in Cg 1.4.
SEE ALSO
cgSetStringParameterValue
Cg Toolkit 2.1 Last change: 1
|