Struct vulkano::command_buffer::AutoCommandBufferBuilder [] [src]

pub struct AutoCommandBufferBuilder<P = Arc<StandardCommandPool>> where
    P: CommandPool
{ /* fields omitted */ }

Note that command buffers allocated from the default command pool (Arc<StandardCommandPool>) don't implement the Send and Sync traits. If you use this pool, then the AutoCommandBufferBuilder will not implement Send and Sync either. Once a command buffer is built, however, it does implement Send and Sync.

Methods

impl AutoCommandBufferBuilder<Arc<StandardCommandPool>>
[src]

Trait Implementations

impl<P, O, E> CommandBufferBuild for AutoCommandBufferBuilder<P> where
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: CommandBufferBuild<Out = O, Err = E>,
    P: CommandPool
[src]

The type of the built command buffer.

Error that can be returned when building.

Builds the command buffer.

impl<P> CommandBuffer for AutoCommandBufferBuilder<P> where
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: CommandBuffer,
    P: CommandPool
[src]

The command pool of the command buffer.

Returns the underlying UnsafeCommandBuffer of this command buffer.

Checks whether this command buffer is allowed to be submitted after the future and on the given queue. Read more

Returns the queue family of the command buffer.

Executes this command buffer on a queue. Read more

Executes the command buffer after an existing future. Read more

impl<P> DeviceOwned for AutoCommandBufferBuilder<P> where
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: DeviceOwned,
    P: CommandPool
[src]

Returns the device that owns Self.

impl<P> CommandBufferBuilder for AutoCommandBufferBuilder<P> where
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: CommandBufferBuilder,
    P: CommandPool
[src]

Returns the queue family of the command buffer builder.

Adds a command that writes the content of a buffer. Read more

Adds a command that writes data to a buffer.

Adds a command that copies from a buffer to another.

Adds a command that copies the content of a buffer to an image. Read more

Same as copy_buffer_to_image but lets you specify a range for the destination image.

Adds a command that starts a render pass. Read more

Adds a command that jumps to the next subpass of the current render pass.

Adds a command that ends the current render pass. Read more

Adds a command that draws. Read more

Adds a command that draws indexed vertices. Read more

Adds an indirect draw command. Read more

Executes a compute shader.

Builds the actual command buffer. Read more

Returns true if the pool of the builder supports graphics operations.

Returns true if the pool of the builder supports compute operations.

impl<P, Rp, F> AddCommand<CmdBeginRenderPass<Rp, F>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdBeginRenderPass<Rp, F>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, S, Pl> AddCommand<CmdBindDescriptorSets<S, Pl>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdBindDescriptorSets<S, Pl>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, B> AddCommand<CmdBindIndexBuffer<B>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdBindIndexBuffer<B>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, Pl> AddCommand<CmdBindPipeline<Pl>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdBindPipeline<Pl>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, V> AddCommand<CmdBindVertexBuffers<V>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdBindVertexBuffers<V>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P> AddCommand<CmdClearAttachments> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdClearAttachments, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, S, D> AddCommand<CmdCopyBuffer<S, D>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdCopyBuffer<S, D>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, S, D> AddCommand<CmdCopyBufferToImage<S, D>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdCopyBufferToImage<S, D>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P> AddCommand<CmdDispatchRaw> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdDispatchRaw, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P> AddCommand<CmdDrawRaw> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdDrawRaw, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P> AddCommand<CmdDrawIndexedRaw> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdDrawIndexedRaw, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, B> AddCommand<CmdDrawIndirectRaw<B>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdDrawIndirectRaw<B>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P> AddCommand<CmdEndRenderPass> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdEndRenderPass, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, C> AddCommand<CmdExecuteCommands<C>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdExecuteCommands<C>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, B> AddCommand<CmdFillBuffer<B>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdFillBuffer<B>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P> AddCommand<CmdNextSubpass> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdNextSubpass, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, Pc, Pl> AddCommand<CmdPushConstants<Pc, Pl>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdPushConstants<Pc, Pl>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P> AddCommand<CmdSetState> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdSetState, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more

impl<P, B, D> AddCommand<CmdUpdateBuffer<B, D>> for AutoCommandBufferBuilder<P> where
    P: CommandPool,
    DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>: AddCommand<CmdUpdateBuffer<B, D>, Out = DeviceCheckLayer<QueueTyCheckLayer<ContextCheckLayer<StateCacheLayer<SubmitSyncBuilderLayer<AutoPipelineBarriersLayer<AbstractStorageLayer<UnsafeCommandBufferBuilder<P>>>>>>>>>, 
[src]

The new command buffer builder type.

Adds the command. This takes ownership of the builder and returns a new builder with the command appended at the end of it. Read more