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

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

Methods

impl KhrSwapchainFn[src]

pub fn name() -> &'static CStr[src]

impl KhrSwapchainFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn create_swapchain_khr(
    &self,
    device: Device,
    p_create_info: *const SwapchainCreateInfoKHR,
    p_allocator: *const AllocationCallbacks,
    p_swapchain: *mut SwapchainKHR
) -> Result
[src]

pub unsafe fn destroy_swapchain_khr(
    &self,
    device: Device,
    swapchain: SwapchainKHR,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn get_swapchain_images_khr(
    &self,
    device: Device,
    swapchain: SwapchainKHR,
    p_swapchain_image_count: *mut u32,
    p_swapchain_images: *mut Image
) -> Result
[src]

pub unsafe fn acquire_next_image_khr(
    &self,
    device: Device,
    swapchain: SwapchainKHR,
    timeout: u64,
    semaphore: Semaphore,
    fence: Fence,
    p_image_index: *mut u32
) -> Result
[src]

pub unsafe fn queue_present_khr(
    &self,
    queue: Queue,
    p_present_info: *const PresentInfoKHR
) -> Result
[src]

pub unsafe fn get_device_group_present_capabilities_khr(
    &self,
    device: Device,
    p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR
) -> Result
[src]

pub unsafe fn get_device_group_surface_present_modes_khr(
    &self,
    device: Device,
    surface: SurfaceKHR,
    p_modes: *mut DeviceGroupPresentModeFlagsKHR
) -> Result
[src]

pub unsafe fn get_physical_device_present_rectangles_khr(
    &self,
    physical_device: PhysicalDevice,
    surface: SurfaceKHR,
    p_rect_count: *mut u32,
    p_rects: *mut Rect2D
) -> Result
[src]

pub unsafe fn acquire_next_image2_khr(
    &self,
    device: Device,
    p_acquire_info: *const AcquireNextImageInfoKHR,
    p_image_index: *mut u32
) -> Result
[src]

Trait Implementations

impl Clone for KhrSwapchainFn[src]

impl Send for KhrSwapchainFn[src]

impl Sync for KhrSwapchainFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrSwapchainFn

impl Unpin for KhrSwapchainFn

impl UnwindSafe for KhrSwapchainFn

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.