Struct gpu_allocator::AllocationCreateDesc [−][src]
pub struct AllocationCreateDesc<'a> {
pub name: &'a str,
pub requirements: MemoryRequirements,
pub location: MemoryLocation,
pub linear: bool,
}Fields
name: &'a strName of the allocation, for tracking and debugging purposes
requirements: MemoryRequirementsVulkan memory requirements for an allocation
location: MemoryLocationLocation where the memory allocation should be stored
linear: boolIf 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