pub struct VulkanOptions {
pub vulkan_instance_creation_options: VulkanInstanceCreationOptions,
pub vulkan_device_creation_options: VulkanDeviceCreationOptions,
pub custom_shared_device: Option<Arc<dyn IVulkanDevice>>,
}Expand description
How an application wants Vulkan to be set up.
Fields§
§vulkan_instance_creation_options: VulkanInstanceCreationOptions§vulkan_device_creation_options: VulkanDeviceCreationOptionsA device of the application that every context renders with, in place of an instance and devices the platform graphics create.
Trait Implementations§
Source§impl Clone for VulkanOptions
impl Clone for VulkanOptions
Auto Trait Implementations§
impl !RefUnwindSafe for VulkanOptions
impl !UnwindSafe for VulkanOptions
impl Freeze for VulkanOptions
impl Send for VulkanOptions
impl Sync for VulkanOptions
impl Unpin for VulkanOptions
impl UnsafeUnpin for VulkanOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more