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