NAME

cgSetStringParameterValue - set the value of a string parameter

SYNOPSIS

  #include <Cg/cg.h>

  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

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.

HISTORY

cgSetStringParameterValue was introduced in Cg 1.4.

SEE ALSO

cgGetStringParameterValue