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_raytracing: Option<PhysicalDeviceRayTracingPipelineFeaturesKHRBuilder<'a>>,
    pub features_acceleration_structure: Option<PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a>>,
}

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.0 features.

features_v1_2: Option<PhysicalDeviceVulkan12FeaturesBuilder<'a>>

Vulkan 1.2 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

impl<'a> Clone for DeviceConfiguration<'a>[src]

impl<'a> Debug for DeviceConfiguration<'a>[src]

impl<'a> Default for DeviceConfiguration<'a>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.