Trait vulkanalia::vk::KhrSwapchainExtension
source · pub trait KhrSwapchainExtension: DeviceV1_0 {
const METADATA: Extension = KHR_SWAPCHAIN_EXTENSION;
// Provided methods
unsafe fn acquire_next_image2_khr(
&self,
acquire_info: &AcquireNextImageInfoKHR
) -> VkSuccessResult<u32> { ... }
unsafe fn acquire_next_image_khr(
&self,
swapchain: SwapchainKHR,
timeout: u64,
semaphore: Semaphore,
fence: Fence
) -> VkSuccessResult<u32> { ... }
unsafe fn create_swapchain_khr(
&self,
create_info: &SwapchainCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SwapchainKHR> { ... }
unsafe fn destroy_swapchain_khr(
&self,
swapchain: SwapchainKHR,
allocator: Option<&AllocationCallbacks>
) { ... }
unsafe fn get_device_group_present_capabilities_khr(
&self,
device_group_present_capabilities: &mut DeviceGroupPresentCapabilitiesKHR
) -> VkResult<()> { ... }
unsafe fn get_device_group_surface_present_modes_khr(
&self,
surface: SurfaceKHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR> { ... }
unsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<Rect2D>> { ... }
unsafe fn get_swapchain_images_khr(
&self,
swapchain: SwapchainKHR
) -> VkResult<Vec<Image>> { ... }
unsafe fn queue_present_khr(
&self,
queue: Queue,
present_info: &PresentInfoKHR
) -> VkResult<SuccessCode> { ... }
}
Expand description
Provided Associated Constants§
Provided Methods§
sourceunsafe fn acquire_next_image2_khr(
&self,
acquire_info: &AcquireNextImageInfoKHR
) -> VkSuccessResult<u32>
unsafe fn acquire_next_image2_khr( &self, acquire_info: &AcquireNextImageInfoKHR ) -> VkSuccessResult<u32>
sourceunsafe fn acquire_next_image_khr(
&self,
swapchain: SwapchainKHR,
timeout: u64,
semaphore: Semaphore,
fence: Fence
) -> VkSuccessResult<u32>
unsafe fn acquire_next_image_khr( &self, swapchain: SwapchainKHR, timeout: u64, semaphore: Semaphore, fence: Fence ) -> VkSuccessResult<u32>
sourceunsafe fn create_swapchain_khr(
&self,
create_info: &SwapchainCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SwapchainKHR>
unsafe fn create_swapchain_khr( &self, create_info: &SwapchainCreateInfoKHR, allocator: Option<&AllocationCallbacks> ) -> VkResult<SwapchainKHR>
sourceunsafe fn destroy_swapchain_khr(
&self,
swapchain: SwapchainKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_swapchain_khr( &self, swapchain: SwapchainKHR, allocator: Option<&AllocationCallbacks> )
sourceunsafe fn get_device_group_present_capabilities_khr(
&self,
device_group_present_capabilities: &mut DeviceGroupPresentCapabilitiesKHR
) -> VkResult<()>
unsafe fn get_device_group_present_capabilities_khr( &self, device_group_present_capabilities: &mut DeviceGroupPresentCapabilitiesKHR ) -> VkResult<()>
sourceunsafe fn get_device_group_surface_present_modes_khr(
&self,
surface: SurfaceKHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
unsafe fn get_device_group_surface_present_modes_khr( &self, surface: SurfaceKHR ) -> VkResult<DeviceGroupPresentModeFlagsKHR>
sourceunsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<Rect2D>>
unsafe fn get_physical_device_present_rectangles_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR ) -> VkResult<Vec<Rect2D>>
sourceunsafe fn get_swapchain_images_khr(
&self,
swapchain: SwapchainKHR
) -> VkResult<Vec<Image>>
unsafe fn get_swapchain_images_khr( &self, swapchain: SwapchainKHR ) -> VkResult<Vec<Image>>
sourceunsafe fn queue_present_khr(
&self,
queue: Queue,
present_info: &PresentInfoKHR
) -> VkResult<SuccessCode>
unsafe fn queue_present_khr( &self, queue: Queue, present_info: &PresentInfoKHR ) -> VkResult<SuccessCode>
Object Safety§
This trait is not object safe.