logo
pub struct SyncCommandBuffer { /* private fields */ }
Expand description

Command buffer built from a SyncCommandBufferBuilder that provides utilities to handle synchronization.

Implementations

Tries to lock the resources used by the command buffer.

Note: You should call this in the implementation of the CommandBuffer trait.

Unlocks the resources used by the command buffer.

Note: You should call this in the implementation of the CommandBuffer trait.

Safety

The command buffer must have been successfully locked with lock_submit().

Checks whether this command buffer has access to a buffer.

Note: Suitable when implementing the CommandBuffer trait.

Checks whether this command buffer has access to an image.

Note: Suitable when implementing the CommandBuffer trait.

Trait Implementations

Performs the conversion.

Returns the device that owns Self.

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.