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