Vocabulary
gpu.buffers

Inputs
buffera buffer
byte-arraya byte-array


Outputs
None

Word description
Discards any memory currently held by buffer and reallocates a new memory block large enough to store byte-array. The contents of byte-array are then copied into the buffer.

See also
allocate-buffer, buffer-size, update-buffer, read-buffer, copy-buffer, with-mapped-buffer

Definition