pub struct RenderSubmissionFence<RenderBackend: Backend> { /* private fields */ }
Expand description

A GPU fence is used to synchronize GPU operations. It is used to ensure that a GPU operation has completed before the CPU attempts to submit commands to it.

Implementations§

Block a GPU until the fence is ready and then reset the fence status.

Destroy this fence given the GPU that created it.

Retrieve the underlying fence.

Retrieve a mutable reference to the underlying fence.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.