Struct asche::Buffer [−][src]
pub struct Buffer<LT: Lifetime> { /* fields omitted */ }
Expand description
Wraps a buffer.
Implementations
Returns a valid mapped slice if the buffer memory is host visible, otherwise it will return None.
Returns a valid mapped mutable slice if the buffer memory is host visible, otherwise it will return None.
Flush the mapped memory of the buffer. Used for CPU->GPU transfers. Vulkan Manual Page
Invalidate the mapped memory of the buffer. Used for GPU->CPU transfers. Vulkan Manual Page
Query an address of a buffer. Vulkan Manual Page