Struct erupt_bootstrap::device::DeviceMetadata
source · [−]pub struct DeviceMetadata { /* private fields */ }Expand description
Metadata for after device creation.
Implementations
The device this metadata belongs to.
The physical device this device belongs to.
The surface this device was created for.
Properties of the physical device.
Name of the physical device.
Type of the physical device.
pub fn device_queue(
&self,
instance: &InstanceLoader,
device: &DeviceLoader,
criteria: QueueFamilyCriteria,
queue_index: u32
) -> Result<Option<(Queue, u32)>, Result>
pub fn device_queue(
&self,
instance: &InstanceLoader,
device: &DeviceLoader,
criteria: QueueFamilyCriteria,
queue_index: u32
) -> Result<Option<(Queue, u32)>, Result>
Returns a queue and the index of the queue family it belongs to.
The best suited queue family meeting the criteria will be chosen.
queue_index is the index within the queue family.
The queue setups which are in use.
The memory properties of the physical device.
The queue family properties of the physical device.
List of all enabled extensions in the instance.
Returns true if extension is enabled.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DeviceMetadata
impl Send for DeviceMetadata
impl Sync for DeviceMetadata
impl Unpin for DeviceMetadata
impl UnwindSafe for DeviceMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more