Struct ash::vk::KhrSwapchainFn[][src]

pub struct KhrSwapchainFn {
    pub create_swapchain_khr: extern "system" fn(device: Device, p_create_info: *const SwapchainCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_swapchain: *mut SwapchainKHR) -> Result,
    pub destroy_swapchain_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_allocator: *const AllocationCallbacks) -> c_void,
    pub get_swapchain_images_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_swapchain_image_count: *mut u32, p_swapchain_images: *mut Image) -> Result,
    pub acquire_next_image_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, timeout: u64, semaphore: Semaphore, fence: Fence, p_image_index: *mut u32) -> Result,
    pub queue_present_khr: extern "system" fn(queue: Queue, p_present_info: *const PresentInfoKHR) -> Result,
    pub get_device_group_present_capabilities_khr: extern "system" fn(device: Device, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR) -> Result,
    pub get_device_group_surface_present_modes_khr: extern "system" fn(device: Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR) -> Result,
    pub get_physical_device_present_rectangles_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_rect_count: *mut u32, p_rects: *mut Rect2D) -> Result,
    pub acquire_next_image2_khr: extern "system" fn(device: Device, p_acquire_info: *const AcquireNextImageInfoKHR, p_image_index: *mut u32) -> Result,
}

Fields

create_swapchain_khr: extern "system" fn(device: Device, p_create_info: *const SwapchainCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_swapchain: *mut SwapchainKHR) -> Resultdestroy_swapchain_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_allocator: *const AllocationCallbacks) -> c_voidget_swapchain_images_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_swapchain_image_count: *mut u32, p_swapchain_images: *mut Image) -> Resultacquire_next_image_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, timeout: u64, semaphore: Semaphore, fence: Fence, p_image_index: *mut u32) -> Resultqueue_present_khr: extern "system" fn(queue: Queue, p_present_info: *const PresentInfoKHR) -> Resultget_device_group_present_capabilities_khr: extern "system" fn(device: Device, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR) -> Resultget_device_group_surface_present_modes_khr: extern "system" fn(device: Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR) -> Resultget_physical_device_present_rectangles_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_rect_count: *mut u32, p_rects: *mut Rect2D) -> Resultacquire_next_image2_khr: extern "system" fn(device: Device, p_acquire_info: *const AcquireNextImageInfoKHR, p_image_index: *mut u32) -> Result

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.