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