Cg Core Runtime API cgSetStringParameterValue(3)
NAME
cgSetStringParameterValue - set the value of a string
parameter
SYNOPSIS
#include
void cgSetStringParameterValue( CGparameter param,
const char * value );
PARAMETERS
param The parameter whose value will be set.
value The string to set the parameter's value as.
RETURN VALUES
None.
DESCRIPTION
cgSetStringParameterValue allows the application to set 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.
CGINVALIDPARAMETEREROR is generated if value is NUL.
HISTORY
cgSetStringParameterValue was introduced in Cg 1.4.
SEE ALSO
cgGetStringParameterValue
Cg Toolkit 2.1 Last change: 1
|