pub(super) trait SwapchainSubmissionSemaphoreGuard {
// Required methods
fn set_used_fence_value(&mut self, value: u64);
fn get_acquire_wait_semaphore(&mut self) -> Option<SemaphoreType>;
fn get_submit_signal_semaphore(
&mut self,
device: &DeviceShared,
) -> Result<SemaphoreType, DeviceError>;
}Expand description
Guard type for managing swapchain submission semaphores.
Required Methods§
Sourcefn set_used_fence_value(&mut self, value: u64)
fn set_used_fence_value(&mut self, value: u64)
Sets the Fence value for this submission.
Sourcefn 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.
Sourcefn 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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".