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