Handbook
Glossary
buffer-access-mode? ( object -- ? )
Vocabulary
gpu
.
buffers
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
buffer-access-mode
class.
Definition
USING:
kernel
;
IN:
gpu.buffers
:
buffer-access-mode?
( object -- ? )
dup
read-write-access?
[
drop
t
]
[
dup
write-access?
[
drop
t
]
[
read-access?
]
if
]
if
;