#[repr(C)]pub struct PresentInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub wait_semaphore_count: u32,
pub p_wait_semaphores: *const Semaphore,
pub swapchain_count: u32,
pub p_swapchains: *const SwapchainKHR,
pub p_image_indices: *const u32,
pub p_results: *mut Result,
}Expand description
VkPresentInfoKHR
Provided by VK_KHR_swapchain.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PRESENT_INFO_KHR.
p_next: *const c_voidOptional, may be null.
wait_semaphore_count: u32Length of p_wait_semaphores.
p_wait_semaphores: *const SemaphoreThread safety: must be externally synchronized.
swapchain_count: u32Length of p_results.
p_swapchains: *const SwapchainKHRThread safety: must be externally synchronized.
p_image_indices: *const u32§p_results: *mut ResultOptional, may be null.
Implementations§
Source§impl PresentInfoKHR
impl PresentInfoKHR
Sourcepub fn builder<'a>() -> PresentInfoKHRBuilder<'a>
pub fn builder<'a>() -> PresentInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PresentInfoKHR
impl Clone for PresentInfoKHR
Source§fn clone(&self) -> PresentInfoKHR
fn clone(&self) -> PresentInfoKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PresentInfoKHR
impl Debug for PresentInfoKHR
Source§impl Default for PresentInfoKHR
impl Default for PresentInfoKHR
impl Copy for PresentInfoKHR
Auto Trait Implementations§
impl Freeze for PresentInfoKHR
impl RefUnwindSafe for PresentInfoKHR
impl !Send for PresentInfoKHR
impl !Sync for PresentInfoKHR
impl Unpin for PresentInfoKHR
impl UnsafeUnpin for PresentInfoKHR
impl UnwindSafe for PresentInfoKHR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more