Handbook
Glossary
<vertex-shader> ( source -- vertex-shader )
Vocabulary
opengl
.
shaders
Inputs
source
The GLSL source code to compile
Outputs
vertex-shader
a new
vertex-shader
Word description
Tries to compile the given GLSL source into a vertex shader object. Equivalent to
GL_VERTEX_SHADER <gl-shader>
.
Definition
USING:
opengl.gl
;
IN:
opengl.shaders
:
<vertex-shader>
( source -- vertex-shader )
GL_VERTEX_SHADER
<gl-shader>
;
inline