Struct gpu_allocator::vulkan::AllocationCreateDesc
source · [−]pub struct AllocationCreateDesc<'a> {
pub name: &'a str,
pub requirements: MemoryRequirements,
pub location: MemoryLocation,
pub linear: bool,
}
Fields
name: &'a str
Name of the allocation, for tracking and debugging purposes
requirements: MemoryRequirements
Vulkan memory requirements for an allocation
location: MemoryLocation
Location where the memory allocation should be stored
linear: bool
If the resource is linear (buffer / linear texture) or a regular (tiled) texture.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for AllocationCreateDesc<'a>
impl<'a> Send for AllocationCreateDesc<'a>
impl<'a> Sync for AllocationCreateDesc<'a>
impl<'a> Unpin for AllocationCreateDesc<'a>
impl<'a> UnwindSafe for AllocationCreateDesc<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more