Module vulkano::buffer::cpu_access

source ·
Expand description

Buffer whose content is accessible to the CPU.

The CpuAccessibleBuffer is a basic general-purpose buffer. It can be used in any situation but may not perform as well as other buffer types.

Each access from the CPU or from the GPU locks the whole buffer for either reading or writing. You can read the buffer multiple times simultaneously. Trying to read and write simultaneously, or write and write simultaneously will block.

Structs

Buffer whose content is accessible by the CPU.
Object that can be used to read or write the content of a CpuAccessibleBuffer.
Object that can be used to read or write the content of a CpuAccessibleBuffer.

Enums

Error when attempting to CPU-read a buffer.
Error when attempting to CPU-write a buffer.