gpu.buffers vocabulary
Factor handbook > Vocabulary index


Documentation
Buffer objects

Meta-data
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
buffer gpu-objectupload-pattern usage-pattern kind
buffer-ptr tuplebuffer offset
buffer-range buffer-ptrsize


Singleton classes
copy-usage
draw-usage
dynamic-upload
index-buffer
pixel-pack-buffer
pixel-unpack-buffer
read-access
read-usage
read-write-access
static-upload
stream-upload
transform-feedback-buffer
vertex-buffer
write-access


Mixin classes
buffer-access-mode
buffer-kind
buffer-upload-pattern
buffer-usage-pattern


Union classes
gpu-data-ptr


Ordinary words
WordStack 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 )


Class predicate words
WordStack 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 -- ? )


Files


Children
VocabularySummary
gpu.buffers.privategpu.buffers.private vocabulary