NAME

cgSetStringParameterValue - get the value of a string parameter

SYNOPSIS

  #include <Cg/cg.h>

  void cgSetStringParameterValue(CGparameter param, const char *value);

PARAMETERS

param

Specifies the parameter whose value will be set.

value

Specifies the string to set the parameter's value as.

DESCRIPTION

cgSetStringParameterValue allows the application to set the value of a string parameter.

RETURN VALUES

None.

ERRORS

CG_INVALID_PARAM_HANDLE_ERROR is generated if the handle param is invalid.

CG_INVALID_PARAMETER_TYPE_ERROR is generated if the type of the given parameter is not CG_STRING.

SEE ALSO

the "cgSetStringParameterValue" document