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