Handbook
Glossary
gpu-data-ptr? ( object -- ? )
Vocabulary
gpu
.
buffers
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
gpu-data-ptr
class.
Definition
USING:
classes.tuple.private
kernel
kernel.private
math.private
slots.private
;
IN:
gpu.buffers
:
gpu-data-ptr?
( object -- ? )
dup
tag
1
swap
fixnum-shift-fast
578
fixnum-bitand
0
eq?
not
[
drop
t
]
[
dup
tuple?
[
layout-of
7
slot
\
buffer-ptr
eq?
]
[
drop
f
]
if
]
if
;