Cg Toolkit Cg 3.1 Toolkit Documentation
Cg / Profiles / glsl

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


Cg Toolkit | Cg Toolkit | Download | Release Archive | Profiles | Reference | Books | Discussions |


Cg Profiles

arbfp1
arbvp1
ds_5_0
fp20
fp30
fp40
glslf
glslg
glsl
glslv
gp4fp
gp4gp
gp4
gp4vp
gp5fp
gp5gp
gp5
gp5tcp
gp5tep
gp5vp
gs_4_0
gs_5_0
hlsl10
hlsl11
hlslf
hlslv
hs_5_0
ps_1_1
ps_1_2
ps_1_3
ps_2_0
ps_2_sw
ps_2_x
ps_3_0
ps_4_0
ps_5_0
vp20
vp30
vp40
vs_1_1
vs_2_0
vs_2_sw
vs_2_x
vs_3_0
vs_4_0
vs_5_0