Skip to main content

VulkanPhysicalDeviceExt

Trait VulkanPhysicalDeviceExt 

Source
pub trait VulkanPhysicalDeviceExt: IsA<VulkanPhysicalDevice> + 'static {
    // Provided methods
    fn check_api_version(&self, major: u32, minor: u32, patch: u32) -> bool { ... }
    fn api_version(&self) -> (u32, u32, u32) { ... }
    fn extension_info(&self, name: &str) -> Option<u32> { ... }
    fn instance(&self) -> VulkanInstance { ... }
    fn layer_info(&self, name: &str) -> Option<(Option<GString>, u32, u32)> { ... }
    fn device_index(&self) -> u32 { ... }
}

Provided Methods§

Source

fn check_api_version(&self, major: u32, minor: u32, patch: u32) -> bool

Available on crate feature v1_26 only.
Source

fn api_version(&self) -> (u32, u32, u32)

Available on crate feature v1_26 only.
Source

fn extension_info(&self, name: &str) -> Option<u32>

Source

fn instance(&self) -> VulkanInstance

Source

fn layer_info(&self, name: &str) -> Option<(Option<GString>, u32, u32)>

Source

fn device_index(&self) -> u32

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§