pub struct SyncCommandBuffer<P> { /* 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

Converts this type into a shared reference of the (usually inferred) input type.
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
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.

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.