Enum vk_alloc::MemoryLocation
source · [−]pub enum MemoryLocation {
CpuToGpu,
GpuOnly,
GpuToCpu,
}
Expand description
The intended location of the memory.
Variants
CpuToGpu
Mainly used for uploading data to the GPU.
GpuOnly
Used as fast access memory for the GPU.
GpuToCpu
Mainly used for downloading data from the GPU.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MemoryLocation
impl Send for MemoryLocation
impl Sync for MemoryLocation
impl Unpin for MemoryLocation
impl UnwindSafe for MemoryLocation
Blanket Implementations
Mutably borrows from an owned value. Read more