struct NativeSwapchainSubmissionSemaphoreGuard<'a> {
acquire_semaphore_guard: MutexGuard<'a, SwapchainAcquireSemaphore>,
present_semaphores_guard: MutexGuard<'a, SwapchainPresentSemaphores>,
}Fields§
§acquire_semaphore_guard: MutexGuard<'a, SwapchainAcquireSemaphore>§present_semaphores_guard: MutexGuard<'a, SwapchainPresentSemaphores>Trait Implementations§
Source§impl<'a> SwapchainSubmissionSemaphoreGuard for NativeSwapchainSubmissionSemaphoreGuard<'a>
impl<'a> SwapchainSubmissionSemaphoreGuard for NativeSwapchainSubmissionSemaphoreGuard<'a>
Source§fn set_used_fence_value(&mut self, value: u64)
fn set_used_fence_value(&mut self, value: u64)
Sets the Fence value for this submission.
Source§fn get_acquire_wait_semaphore(&mut self) -> Option<SemaphoreType>
fn get_acquire_wait_semaphore(&mut self) -> Option<SemaphoreType>
Gets semaphores to wait on before doing GPU work for this swapchain texture.
Source§fn get_submit_signal_semaphore(
&mut self,
device: &DeviceShared,
) -> Result<SemaphoreType, DeviceError>
fn get_submit_signal_semaphore( &mut self, device: &DeviceShared, ) -> Result<SemaphoreType, DeviceError>
Gets the semaphore to signal when GPU work for this swapchain texture is complete.
Auto Trait Implementations§
impl<'a> Freeze for NativeSwapchainSubmissionSemaphoreGuard<'a>
impl<'a> !RefUnwindSafe for NativeSwapchainSubmissionSemaphoreGuard<'a>
impl<'a> !Send for NativeSwapchainSubmissionSemaphoreGuard<'a>
impl<'a> Sync for NativeSwapchainSubmissionSemaphoreGuard<'a>
impl<'a> Unpin for NativeSwapchainSubmissionSemaphoreGuard<'a>
impl<'a> !UnwindSafe for NativeSwapchainSubmissionSemaphoreGuard<'a>
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