vk::mem · Structs · I1
Actual external backing extent and compatible types for one import.
Stvk::mem::ImportMemoryInfo
Contract
Actual external backing extent and compatible types for one import.
Attach through super::AllocationChain::new_from_record_with_import.
This is Rust metadata, not a Vulkan ABI record or a support query.
All bytes are charged to the selected heap even when Vulkan ignores the size.
Fields
allocation_size
allocation_size: u64Exact backing size from native external properties or authoritative OS metadata.
memory_type_bits
memory_type_bits: u32Compatible native types for this exact device and payload; never inferred from PFNs.
resource
resource: Option<ImportResource>Exact resource when dedication is required or pre-bind requirements cannot be queried. Its requirements must fit the supplied extent and type mask. Binding remains explicit.
Methods and associated items
new
Describe explicit backing size/types without resource-specific dedication. The unsafe import operation still requires authoritative payload/device metadata.
set_allocation_size
Set allocation_size and return the updated record.
set_memory_type_bits
Set memory_type_bits and return the updated record.
set_resource
Set resource and return the updated record.