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