<vertex-shader> ( source -- vertex-shader )


Vocabulary
opengl.shaders

Inputs
sourceThe GLSL source code to compile


Outputs
vertex-shadera 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