Enum gpu_allocator::vulkan::AllocationScheme
source · Variants§
DedicatedBuffer(Buffer)
Perform a dedicated, driver-managed allocation for the given buffer, allowing it to perform optimizations on this type of allocation.
DedicatedImage(Image)
Perform a dedicated, driver-managed allocation for the given image, allowing it to perform optimizations on this type of allocation.
GpuAllocatorManaged
The memory for this resource will be allocated and managed by gpu-allocator.
Trait Implementations§
source§impl Clone for AllocationScheme
impl Clone for AllocationScheme
source§fn clone(&self) -> AllocationScheme
fn clone(&self) -> AllocationScheme
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AllocationScheme
impl Debug for AllocationScheme
source§impl PartialEq<AllocationScheme> for AllocationScheme
impl PartialEq<AllocationScheme> for AllocationScheme
source§fn eq(&self, other: &AllocationScheme) -> bool
fn eq(&self, other: &AllocationScheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.