Struct dacite::core::FromNativeDeviceMemoryParameters
[−]
[src]
pub struct FromNativeDeviceMemoryParameters { pub owned: bool, pub device: Device, pub size: u64, pub allocator: Option<Box<Allocator>>, }
Fields
owned: bool
true
, if this DeviceMemory
should free the underlying Vulkan object, when it is dropped.
device: Device
The Device
, from which this DeviceMemory
was allocated.
size: u64
The size in bytes of this DeviceMemory
.
allocator: Option<Box<Allocator>>
An Allocator
compatible with the one used to create this DeviceMemory
.
This parameter is ignored, if owned
is false
.