Struct ash::extensions::khr::TimelineSemaphore
source · pub struct TimelineSemaphore { /* private fields */ }
Implementations§
source§impl TimelineSemaphore
impl TimelineSemaphore
pub fn new(instance: &Instance, device: &Device) -> Self
sourcepub unsafe fn get_semaphore_counter_value(
&self,
semaphore: Semaphore
) -> VkResult<u64>
pub unsafe fn get_semaphore_counter_value( &self, semaphore: Semaphore ) -> VkResult<u64>
sourcepub unsafe fn wait_semaphores(
&self,
wait_info: &SemaphoreWaitInfo,
timeout: u64
) -> VkResult<()>
pub unsafe fn wait_semaphores( &self, wait_info: &SemaphoreWaitInfo, timeout: u64 ) -> VkResult<()>
sourcepub unsafe fn signal_semaphore(
&self,
signal_info: &SemaphoreSignalInfo
) -> VkResult<()>
pub unsafe fn signal_semaphore( &self, signal_info: &SemaphoreSignalInfo ) -> VkResult<()>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrTimelineSemaphoreFn
pub fn device(&self) -> Device
Trait Implementations§
source§impl Clone for TimelineSemaphore
impl Clone for TimelineSemaphore
source§fn clone(&self) -> TimelineSemaphore
fn clone(&self) -> TimelineSemaphore
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for TimelineSemaphore
impl Send for TimelineSemaphore
impl Sync for TimelineSemaphore
impl Unpin for TimelineSemaphore
impl UnwindSafe for TimelineSemaphore
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