[−][src]Module vulkano::buffer::cpu_access
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
CpuAccessibleBuffer | Buffer whose content is accessible by the CPU. |
ReadLock | Object that can be used to read or write the content of a |
WriteLock | Object that can be used to read or write the content of a |
Enums
ReadLockError | Error when attempting to CPU-read a buffer. |
WriteLockError | Error when attempting to CPU-write a buffer. |