Trait vulkanalia::vk::KhrSwapchainExtension[][src]

pub trait KhrSwapchainExtension: DeviceV1_0 {
    const METADATA: ExtensionMetadata;
    fn acquire_next_image2_khr(
        &self,
        acquire_info: &AcquireNextImageInfoKHR
    ) -> VkSuccessResult<u32> { ... }
fn acquire_next_image_khr(
        &self,
        swapchain: SwapchainKHR,
        timeout: u64,
        semaphore: Semaphore,
        fence: Fence
    ) -> VkSuccessResult<u32> { ... }
fn create_swapchain_khr(
        &self,
        create_info: &SwapchainCreateInfoKHR,
        allocator: Option<&AllocationCallbacks>
    ) -> VkResult<SwapchainKHR> { ... }
fn destroy_swapchain_khr(
        &self,
        swapchain: SwapchainKHR,
        allocator: Option<&AllocationCallbacks>
    ) { ... }
fn get_device_group_present_capabilities_khr(
        &self
    ) -> VkResult<DeviceGroupPresentCapabilitiesKHR> { ... }
fn get_device_group_surface_present_modes_khr(
        &self,
        surface: SurfaceKHR
    ) -> VkResult<DeviceGroupPresentModeFlagsKHR> { ... }
fn get_physical_device_present_rectangles_khr(
        &self,
        physical_device: PhysicalDevice,
        surface: SurfaceKHR
    ) -> VkResult<Vec<Rect2D>> { ... }
fn get_swapchain_images_khr(
        &self,
        swapchain: SwapchainKHR
    ) -> VkResult<Vec<Image>> { ... }
fn queue_present_khr(
        &self,
        queue: Queue,
        present_info: &PresentInfoKHR
    ) -> VkResult<SuccessCode> { ... } }

Associated Constants

const METADATA: ExtensionMetadata[src]

The metadata for this extension.

Loading content...

Provided methods

fn acquire_next_image2_khr(
    &self,
    acquire_info: &AcquireNextImageInfoKHR
) -> VkSuccessResult<u32>
[src]

fn acquire_next_image_khr(
    &self,
    swapchain: SwapchainKHR,
    timeout: u64,
    semaphore: Semaphore,
    fence: Fence
) -> VkSuccessResult<u32>
[src]

fn create_swapchain_khr(
    &self,
    create_info: &SwapchainCreateInfoKHR,
    allocator: Option<&AllocationCallbacks>
) -> VkResult<SwapchainKHR>
[src]

fn destroy_swapchain_khr(
    &self,
    swapchain: SwapchainKHR,
    allocator: Option<&AllocationCallbacks>
)
[src]

fn get_device_group_present_capabilities_khr(
    &self
) -> VkResult<DeviceGroupPresentCapabilitiesKHR>
[src]

fn get_device_group_surface_present_modes_khr(
    &self,
    surface: SurfaceKHR
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
[src]

fn get_physical_device_present_rectangles_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR
) -> VkResult<Vec<Rect2D>>
[src]

fn get_swapchain_images_khr(
    &self,
    swapchain: SwapchainKHR
) -> VkResult<Vec<Image>>
[src]

fn queue_present_khr(
    &self,
    queue: Queue,
    present_info: &PresentInfoKHR
) -> VkResult<SuccessCode>
[src]

Loading content...

Implementors

Loading content...