[−][src]Struct ash::vk::KhrSwapchainFn
Fields
create_swapchain_khr: extern "system" fn(device: Device, p_create_info: *const SwapchainCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_swapchain: *mut SwapchainKHR) -> Result
destroy_swapchain_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_allocator: *const AllocationCallbacks) -> c_void
get_swapchain_images_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_swapchain_image_count: *mut u32, p_swapchain_images: *mut Image) -> Result
acquire_next_image_khr: extern "system" fn(device: Device, swapchain: SwapchainKHR, timeout: u64, semaphore: Semaphore, fence: Fence, p_image_index: *mut u32) -> Result
queue_present_khr: extern "system" fn(queue: Queue, p_present_info: *const PresentInfoKHR) -> Result
get_device_group_present_capabilities_khr: extern "system" fn(device: Device, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR) -> Result
get_device_group_surface_present_modes_khr: extern "system" fn(device: Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR) -> Result
get_physical_device_present_rectangles_khr: extern "system" fn(physical_device: PhysicalDevice, surface: SurfaceKHR, p_rect_count: *mut u32, p_rects: *mut Rect2D) -> Result
acquire_next_image2_khr: extern "system" fn(device: Device, p_acquire_info: *const AcquireNextImageInfoKHR, p_image_index: *mut u32) -> Result
Methods
impl KhrSwapchainFn
[src]
impl KhrSwapchainFn
[src]
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
[src]
F: FnMut(&CStr) -> *const c_void,
pub unsafe fn create_swapchain_khr(
&self,
device: Device,
p_create_info: *const SwapchainCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_swapchain: *mut SwapchainKHR
) -> Result
[src]
&self,
device: Device,
p_create_info: *const SwapchainCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_swapchain: *mut SwapchainKHR
) -> Result
pub unsafe fn destroy_swapchain_khr(
&self,
device: Device,
swapchain: SwapchainKHR,
p_allocator: *const AllocationCallbacks
) -> c_void
[src]
&self,
device: Device,
swapchain: SwapchainKHR,
p_allocator: *const AllocationCallbacks
) -> c_void
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]
&self,
device: Device,
swapchain: SwapchainKHR,
p_swapchain_image_count: *mut u32,
p_swapchain_images: *mut Image
) -> Result
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]
&self,
device: Device,
swapchain: SwapchainKHR,
timeout: u64,
semaphore: Semaphore,
fence: Fence,
p_image_index: *mut u32
) -> Result
pub unsafe fn queue_present_khr(
&self,
queue: Queue,
p_present_info: *const PresentInfoKHR
) -> Result
[src]
&self,
queue: Queue,
p_present_info: *const PresentInfoKHR
) -> Result
pub unsafe fn get_device_group_present_capabilities_khr(
&self,
device: Device,
p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR
) -> Result
[src]
&self,
device: Device,
p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR
) -> Result
pub unsafe fn get_device_group_surface_present_modes_khr(
&self,
device: Device,
surface: SurfaceKHR,
p_modes: *mut DeviceGroupPresentModeFlagsKHR
) -> Result
[src]
&self,
device: Device,
surface: SurfaceKHR,
p_modes: *mut DeviceGroupPresentModeFlagsKHR
) -> Result
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]
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
p_rect_count: *mut u32,
p_rects: *mut Rect2D
) -> Result
pub unsafe fn acquire_next_image2_khr(
&self,
device: Device,
p_acquire_info: *const AcquireNextImageInfoKHR,
p_image_index: *mut u32
) -> Result
[src]
&self,
device: Device,
p_acquire_info: *const AcquireNextImageInfoKHR,
p_image_index: *mut u32
) -> Result
Trait Implementations
impl Sync for KhrSwapchainFn
[src]
impl Clone for KhrSwapchainFn
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Send for KhrSwapchainFn
[src]
Auto Trait Implementations
impl Unpin for KhrSwapchainFn
impl UnwindSafe for KhrSwapchainFn
impl RefUnwindSafe for KhrSwapchainFn
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,