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