Trait vulkanalia::vk::KhrSurfaceExtension
source · 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§
Provided Methods§
sourceunsafe fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_surface_khr( &self, surface: SurfaceKHR, allocator: Option<&AllocationCallbacks> )
sourceunsafe fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
unsafe fn get_physical_device_surface_capabilities_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR ) -> VkResult<SurfaceCapabilitiesKHR>
sourceunsafe fn get_physical_device_surface_formats_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
unsafe fn get_physical_device_surface_formats_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR ) -> VkResult<Vec<SurfaceFormatKHR>>
sourceunsafe fn get_physical_device_surface_present_modes_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
unsafe fn get_physical_device_surface_present_modes_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR ) -> VkResult<Vec<PresentModeKHR>>
sourceunsafe fn get_physical_device_surface_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR
) -> VkResult<bool>
unsafe fn get_physical_device_surface_support_khr( &self, physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR ) -> VkResult<bool>
Object Safety§
This trait is not object safe.