pub trait KhrSurfaceExtension: InstanceV1_0 {
    const METADATA: Extension = KHR_SURFACE_EXTENSION;

    // Provided methods
    unsafe fn destroy_surface_khr(
        &self,
        surface: SurfaceKHR,
        allocator: Option<&AllocationCallbacks>
    ) { ... }
    unsafe fn get_physical_device_surface_capabilities_khr(
        &self,
        physical_device: PhysicalDevice,
        surface: SurfaceKHR
    ) -> VkResult<SurfaceCapabilitiesKHR> { ... }
    unsafe fn get_physical_device_surface_formats_khr(
        &self,
        physical_device: PhysicalDevice,
        surface: SurfaceKHR
    ) -> VkResult<Vec<SurfaceFormatKHR>> { ... }
    unsafe fn get_physical_device_surface_present_modes_khr(
        &self,
        physical_device: PhysicalDevice,
        surface: SurfaceKHR
    ) -> VkResult<Vec<PresentModeKHR>> { ... }
    unsafe fn get_physical_device_surface_support_khr(
        &self,
        physical_device: PhysicalDevice,
        queue_family_index: u32,
        surface: SurfaceKHR
    ) -> VkResult<bool> { ... }
}
Expand description

Provided Associated Constants§

source

const METADATA: Extension = KHR_SURFACE_EXTENSION

The metadata for this extension.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§