Handbook
Glossary
buffer-upload-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-upload-pattern
class.
Definition
USING:
kernel
;
IN:
gpu.buffers
:
buffer-upload-pattern?
( object -- ? )
dup
dynamic-upload?
[
drop
t
]
[
dup
static-upload?
[
drop
t
]
[
stream-upload?
]
if
]
if
;