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) -> 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
Implementations
pub unsafe fn create_swapchain_khr(
&self,
device: Device,
p_create_info: *const SwapchainCreateInfoKHR,
p_allocator: *const AllocationCallbacks,
p_swapchain: *mut SwapchainKHR
) -> Result
pub unsafe fn create_swapchain_khr(
&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
pub unsafe fn destroy_swapchain_khr(
&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
pub unsafe fn get_swapchain_images_khr(
&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
pub unsafe fn acquire_next_image_khr(
&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
pub unsafe fn queue_present_khr(
&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
pub unsafe fn get_device_group_present_capabilities_khr(
&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
pub unsafe fn get_device_group_surface_present_modes_khr(
&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
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
pub unsafe fn acquire_next_image2_khr(
&self,
device: Device,
p_acquire_info: *const AcquireNextImageInfoKHR,
p_image_index: *mut u32
) -> Result
pub unsafe fn acquire_next_image2_khr(
&self,
device: Device,
p_acquire_info: *const AcquireNextImageInfoKHR,
p_image_index: *mut u32
) -> Result
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KhrSwapchainFn
impl Unpin for KhrSwapchainFn
impl UnwindSafe for KhrSwapchainFn
Blanket Implementations
Mutably borrows from an owned value. Read more