cgGetParameterClassString
Keywords: cgGetParameterClassString, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> cgGetParameterClassString - get the name associated with a parameter class enumerant

> ## Synopsis

>     #include <Cg/cg.h>

>     const char * cgGetParameterClassString( CGparameterclass parameterclass );

> ## Parameters

> parameterclass
>   The parameter class enumerant.

> ## Return Values

> Returns the name associated with parameterclass.

> Returns "unknown" if parameterclass is not a valid parameter class.

> ## Description

> cgGetParameterClassString returns the name associated with a parameter class enumerant.

> ## Examples

>     static void dumpCgParameterInfo(CGparameter parameter)
>     {
>       /* ... */
>       const char* p = cgGetParameterClassString(cgGetParameterType(parameter));
>       if ( p ) {
>         printf(" ParameterClass: %s\n", p);
>       }
>       /* ... */
>     }

> ## Errors

> None.

> ## History

> cgGetParameterClassString was introduced in Cg 2.2.

> ## See Also

> cgGetParameterClassEnum, cgGetParameterClass, cgGetTypeClass