Handbook
Glossary
compute-shader? ( object -- ? )
Vocabulary
opengl
.
shaders
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
compute-shader
class.
Definition
USING:
kernel
;
IN:
opengl.shaders
:
compute-shader?
( object -- ? )
dup
gl-shader?
[
(compute-shader?)
]
[
drop
f
]
if
;