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

> ## Name

> cgGLGetGLSLVersionString - get the GLSL version string for a CGGLglslversion enumerant

> ## Synopsis

>     #include <Cg/cgGL.h>

>     const char * cgGLGetGLSLVersionString( CGGLglslversion version );

> ## Parameters

> version
>   CGGLglslversion enumerant value.

> ## Return Values

> Returns the GLSL version string.

> ## Description

> cgGLGetGLSLVersionString returns a GLSL version string from a CGGLglslversion enumerant value.

> ## Examples

>       printf("GLSL Version %s\n", cgGLGetGLSLVersionString(CG_GL_GLSL_120));

> ## Errors

> None.

> ## History

> cgGLGetGLSLVersionString was introduced in Cg 3.1.

> ## See Also

> cgGLGetGLSLVersion, cgGLGetContextGLSLVersion, cgGLSetContextGLSLVersion