buffer-upload-pattern
GPU-accelerated rendering » Buffer objects

Prev:buffer-kind
Next:buffer-usage-pattern


Vocabulary
gpu.buffers

Class description
buffer-upload-pattern values aid the graphics driver in optimizing access to buffer objects by declaring the frequency with which the buffer will be supplied new data.
stream-upload declares that the buffer data will only be used a few times before being deallocated by dispose or replaced by allocate-buffer.
static-upload declares that the buffer data will be provided once and accessed frequently without modification.
dynamic-upload declares that the buffer data will be frequently modified.

A buffer-upload-pattern is only a declaration and does not actually control access to the underlying buffer data.

See also
buffer-kind, buffer-usage-pattern

Definition