pub struct AllocationCreateInfo {
pub required_flags: MemoryPropertyFlags,
pub preferred_flags: MemoryPropertyFlags,
pub memory_type_bits: u32,
pub strategy: PlacementStrategy,
pub policy: AllocationPolicy,
pub persistent_map: bool,
}Expand description
Managed-buffer policy; not a Vulkan ABI record or an arbitrary allocation chain.
Fields§
§required_flags: MemoryPropertyFlags§preferred_flags: MemoryPropertyFlags§memory_type_bits: u32Intersected with queried native requirements; zero admits no memory types.
strategy: PlacementStrategy§policy: AllocationPolicy§persistent_map: boolRetain a mapping until explicit allocation release. Requires host-visible storage.
Trait Implementations§
Source§impl Clone for AllocationCreateInfo
impl Clone for AllocationCreateInfo
impl Copy for AllocationCreateInfo
Source§impl Debug for AllocationCreateInfo
impl Debug for AllocationCreateInfo
Auto Trait Implementations§
impl Freeze for AllocationCreateInfo
impl RefUnwindSafe for AllocationCreateInfo
impl Send for AllocationCreateInfo
impl Sync for AllocationCreateInfo
impl Unpin for AllocationCreateInfo
impl UnsafeUnpin for AllocationCreateInfo
impl UnwindSafe for AllocationCreateInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more