Handbook
Glossary
glsl-version ( -- version )
Vocabulary
opengl
.
capabilities
Inputs
None
Outputs
version
The GLSL version string from the OpenGL implementation
Word description
Wrapper for
GL_SHADING_LANGUAGE_VERSION glGetString
that removes the vendor-specific information from the version string.
See also
require-gl-version
,
require-glsl-version
,
require-gl-extensions
,
require-gl-version-or-extensions
,
has-gl-version?
,
has-glsl-version?
,
has-gl-extensions?
,
has-gl-version-or-extensions?
,
gl-version
,
gl-extensions
Definition
USING:
kernel
;
IN:
opengl.capabilities
:
glsl-version
( -- version )
(glsl-version)
drop
;