Struct asche::DeviceConfiguration [−][src]
pub struct DeviceConfiguration<'a> { pub device_type: PhysicalDeviceType, pub swapchain_format: Format, pub swapchain_color_space: ColorSpaceKHR, pub presentation_mode: PresentModeKHR, pub queue_configuration: QueueConfiguration, pub extensions: Vec<*const c_char>, pub features_v1_0: Option<PhysicalDeviceFeaturesBuilder<'a>>, pub features_v1_1: Option<PhysicalDeviceVulkan11FeaturesBuilder<'a>>, pub features_v1_2: Option<PhysicalDeviceVulkan12FeaturesBuilder<'a>>, pub features_robustness2: Option<PhysicalDeviceRobustness2FeaturesEXTBuilder<'a>>, pub features_raytracing: Option<PhysicalDeviceRayTracingPipelineFeaturesKHRBuilder<'a>>, pub features_acceleration_structure: Option<PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>>, }
Expand description
Describes how the device should be configured.
Fields
device_type: PhysicalDeviceType
The device type that is requested.
swapchain_format: Format
The image format of the swapchain.
swapchain_color_space: ColorSpaceKHR
The color space of the swapchain.
presentation_mode: PresentModeKHR
The presentation mode of the swap chain.
queue_configuration: QueueConfiguration
The configuration of the queues.
extensions: Vec<*const c_char>
Device extensions to load.
features_v1_0: Option<PhysicalDeviceFeaturesBuilder<'a>>
Vulkan 1.0 features.
features_v1_1: Option<PhysicalDeviceVulkan11FeaturesBuilder<'a>>
Vulkan 1.1 features.
features_v1_2: Option<PhysicalDeviceVulkan12FeaturesBuilder<'a>>
Vulkan 1.2 features
features_robustness2: Option<PhysicalDeviceRobustness2FeaturesEXTBuilder<'a>>
VK_EXT_robustness2 features
features_raytracing: Option<PhysicalDeviceRayTracingPipelineFeaturesKHRBuilder<'a>>
VK_KHR_ray_tracing_pipeline features
features_acceleration_structure: Option<PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>>
VK_KHR_acceleration_structure features
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for DeviceConfiguration<'a>
impl<'a> !Send for DeviceConfiguration<'a>
impl<'a> !Sync for DeviceConfiguration<'a>
impl<'a> Unpin for DeviceConfiguration<'a>
impl<'a> UnwindSafe for DeviceConfiguration<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more