Name

cgGLGetContextGLSLVersion - get the current GLSL version from a context

Synopsis

#include <Cg/cgGL.h>

CGGLglslversion cgGLGetContextGLSLVersion( CGcontext context );

Parameters

context
The context from which the the current GLSL version will be retrieved.

Return Values

Returns the GLSL version for context.

Description

cgGLGetContextGLSLVersion gets the current GLSL version setting from context. See cgGLSetContextGLSLVersion for more information.

Examples

to-be-written

Errors

None.

History

cgGLGetContextGLSLVersion was introduced in Cg 3.1.

See Also

cgGLSetContextGLSLVersion, cgGLDetectGLSLVersion, cgGLGetContextOptimalOptions, cgGLSetContextOptimalOptions