Name

glsl - OpenGL Shading Language profiles

Synopsis

  glsl

Description

glsl corresponds not to a single profile but to a family of profiles that include glslv, glslg and glslf. For more details refer to each profile documentation.

Opengl Specifications

 http://www.opengl.org/documentation/specs/

Glsl Specifications

 http://www.opengl.org/documentation/glsl/
 http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.10.59.pdf
 http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.20.8.pdf

Glsl Versions

Available GLSL versions:

CG_GL_GLSL_DEFAULT
The default GLSL version, corresponding to GLSL used for Cg 3.0 and before.
CG_GL_GLSL_100
GLSL v1.00 corresponding to ARB_shader_objects extension to OpenGL 1.0. Deprecated by core/forward-compatible OpenGL 3.0, supported by ARB_compatibility
CG_GL_GLSL_110
As specified in The OpenGL Shading Language, Language Version 1.10. Supported by OpenGL 2.0 onwards. Deprecated by core/forward-compatible OpenGL 3.0, supported by ARB_compatibility
CG_GL_GLSL_120
As specified in The OpenGL Shading Language, Language Version 1.20. Supported by OpenGL 2.1 onwards. Deprecated by core/forward-compatible OpenGL 3.0, supported by ARB_compatibility

Standard Library Issues

Cg standard library routines are available.

See Also

glslv, glslg, glslf, cgGLSetContextGLSLVersion