Parents: | gpu |
Authors: | Joe Groff |
Class | Superclass | Slots |
buffer | gpu-object | upload-pattern usage-pattern kind |
buffer-ptr | tuple | buffer offset |
buffer-range | buffer-ptr | size |
buffer-access-mode |
buffer-kind |
buffer-upload-pattern |
buffer-usage-pattern |
gpu-data-ptr |
Word | Stack effect |
(grow-buffer-size) | ( target-size old-size -- new-size ) |
<buffer-ptr> | ( buffer offset -- buffer-ptr ) |
<buffer-range> | ( buffer offset size -- buffer-range ) |
<buffer> | ( upload: buffer-upload-pattern usage: buffer-usage-pattern kind: buffer-kind size: integer initial-data -- buffer: buffer ) |
allocate-buffer | ( buffer size initial-data -- ) |
allocate-byte-array | ( buffer byte-array -- ) |
buffer-ptr>range | ( buffer-ptr -- buffer-range ) |
buffer-size | ( buffer: buffer -- size: integer ) |
byte-array>buffer | ( byte-array upload: buffer-upload-pattern usage: buffer-usage-pattern kind: buffer-kind -- buffer: buffer ) |
copy-buffer | ( to-buffer-ptr: buffer-ptr from-buffer-ptr: buffer-ptr size: integer -- ) |
grow-buffer | ( buffer: buffer target-size: integer -- ) |
read-buffer | ( buffer-ptr: buffer-ptr size: integer -- data: byte-array ) |
update-buffer | ( buffer-ptr: buffer-ptr size: integer data -- ) |
with-bound-buffer | ( ..a buffer target quot: ( ..a -- ..b ) -- ..b ) |
with-buffer-ptr | ( ..a buffer-ptr target quot: ( ..a c-ptr -- ..b ) -- ..b ) |
with-gpu-data-ptr | ( ..a gpu-data-ptr target quot: ( ..a c-ptr -- ..b ) -- ..b ) |
with-mapped-buffer | ( ..a buffer access quot: ( ..a alien -- ..b ) -- ..b ) |
with-mapped-buffer-array | ( ..a buffer access c-type quot: ( ..a array -- ..b ) -- ..b ) |
Word | Stack effect |
buffer-access-mode? | ( object -- ? ) |
buffer-kind? | ( object -- ? ) |
buffer-ptr? | ( object -- ? ) |
buffer-range? | ( object -- ? ) |
buffer-upload-pattern? | ( object -- ? ) |
buffer-usage-pattern? | ( object -- ? ) |
buffer? | ( object -- ? ) |
copy-usage? | ( object -- ? ) |
draw-usage? | ( object -- ? ) |
dynamic-upload? | ( object -- ? ) |
gpu-data-ptr? | ( object -- ? ) |
index-buffer? | ( object -- ? ) |
pixel-pack-buffer? | ( object -- ? ) |
pixel-unpack-buffer? | ( object -- ? ) |
read-access? | ( object -- ? ) |
read-usage? | ( object -- ? ) |
read-write-access? | ( object -- ? ) |
static-upload? | ( object -- ? ) |
stream-upload? | ( object -- ? ) |
transform-feedback-buffer? | ( object -- ? ) |
vertex-buffer? | ( object -- ? ) |
write-access? | ( object -- ? ) |