Handbook
Glossary
shader? ( object -- ? )
Vocabulary
gpu
.
shaders
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
shader
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
gpu.shaders
:
shader?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
shader
eq?
]
[
drop
f
]
if
;