pub trait KhrSurfaceExtension: InstanceV1_0 {
const METADATA: Extension;
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
The metadata for this extension.