Struct vulkano::memory::allocator::suballocator::SuballocationCreateInfo
source · pub struct SuballocationCreateInfo {
pub layout: DeviceLayout,
pub allocation_type: AllocationType,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create a new allocation using a suballocator.
Fields§
§layout: DeviceLayout
Memory layout required for the allocation.
The default value is a layout with size DeviceLayout::MAX_SIZE
and alignment
DeviceAlignment::MIN
, which must be overridden.
allocation_type: AllocationType
Type of resources that can be bound to the allocation.
The default value is AllocationType::Unknown
.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for SuballocationCreateInfo
impl Clone for SuballocationCreateInfo
source§fn clone(&self) -> SuballocationCreateInfo
fn clone(&self) -> SuballocationCreateInfo
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 more