Struct vulkano::command_buffer::synced::SyncCommandBuffer[][src]

pub struct SyncCommandBuffer { /* fields omitted */ }
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

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.

Performs the conversion.

Performs the conversion.

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.