Struct vulkano::command_buffer::cb::SubmitSyncBuilderLayer [] [src]

pub struct SubmitSyncBuilderLayer<I> { /* fields omitted */ }

Layers that ensures that synchronization with buffers and images between command buffers is properly handled.

The following are handled:

  • Return an error when submitting if the user didn't provide the guarantees for proper synchronization.

  • Automatically generate pipeline barriers between command buffers if necessary to handle the transition between command buffers. TODO: ^ this is not the case yet

Methods

impl<I> SubmitSyncBuilderLayer<I>
[src]

Builds a new layer that wraps around an existing builder.

Trait Implementations

impl<I, O, E> CommandBufferBuild for SubmitSyncBuilderLayer<I> where
    I: CommandBufferBuild<Out = O, Err = E>, 
[src]

The type of the built command buffer.

Error that can be returned when building.

Builds the command buffer.

impl<I> DeviceOwned for SubmitSyncBuilderLayer<I> where
    I: DeviceOwned
[src]

Returns the device that owns Self.

impl<I> CommandBufferBuilder for SubmitSyncBuilderLayer<I> where
    I: CommandBufferBuilder
[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<'a, I, O, S, Pl> AddCommand<CmdBindDescriptorSets<S, Pl>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdBindDescriptorSets<S, Pl>, Out = O>, 
[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<'a, I, O, V> AddCommand<CmdBindVertexBuffers<V>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdBindVertexBuffers<V>, Out = O>, 
[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<'a, I, O, C> AddCommand<CmdExecuteCommands<C>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdExecuteCommands<C>, Out = O>, 
[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<I, O, Rp, F> AddCommand<CmdBeginRenderPass<Rp, F>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdBeginRenderPass<Rp, F>, Out = O>,
    F: FramebufferAbstract + Send + Sync + Clone + 'static, 
[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<I, O, B> AddCommand<CmdBindIndexBuffer<B>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdBindIndexBuffer<B>, Out = O>,
    B: BufferAccess + Send + Sync + Clone + 'static, 
[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<I, O, P> AddCommand<CmdBindPipeline<P>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdBindPipeline<P>, Out = O>, 
[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<I, O, S, D> AddCommand<CmdBlitImage<S, D>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdBlitImage<S, D>, Out = O>,
    S: ImageAccess + Send + Sync + Clone + 'static,
    D: ImageAccess + Send + Sync + Clone + 'static, 
[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<I, O> AddCommand<CmdClearAttachments> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdClearAttachments, Out = O>, 
[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<I, O, S, D> AddCommand<CmdCopyBuffer<S, D>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdCopyBuffer<S, D>, Out = O>,
    S: BufferAccess + Send + Sync + Clone + 'static,
    D: BufferAccess + Send + Sync + Clone + 'static, 
[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<I, O, S, D> AddCommand<CmdCopyBufferToImage<S, D>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdCopyBufferToImage<S, D>, Out = O>,
    S: BufferAccess + Send + Sync + Clone + 'static,
    D: ImageAccess + Send + Sync + Clone + 'static, 
[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<I, O, S, D> AddCommand<CmdCopyImage<S, D>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdCopyImage<S, D>, Out = O>,
    S: ImageAccess + Send + Sync + Clone + 'static,
    D: ImageAccess + Send + Sync + Clone + 'static, 
[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<I, O> AddCommand<CmdDispatchRaw> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdDispatchRaw, Out = O>, 
[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<I, O> AddCommand<CmdDrawRaw> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdDrawRaw, Out = O>, 
[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<I, O> AddCommand<CmdDrawIndexedRaw> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdDrawIndexedRaw, Out = O>, 
[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<I, O, B> AddCommand<CmdDrawIndirectRaw<B>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdDrawIndirectRaw<B>, Out = O>,
    B: BufferAccess + Send + Sync + Clone + 'static, 
[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<I, O> AddCommand<CmdEndRenderPass> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdEndRenderPass, Out = O>, 
[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<I, O, B> AddCommand<CmdFillBuffer<B>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdFillBuffer<B>, Out = O>,
    B: BufferAccess + Send + Sync + Clone + 'static, 
[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<I, O> AddCommand<CmdNextSubpass> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdNextSubpass, Out = O>, 
[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<I, O, Pc, Pl> AddCommand<CmdPushConstants<Pc, Pl>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdPushConstants<Pc, Pl>, Out = O>, 
[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<I, O, S, D> AddCommand<CmdResolveImage<S, D>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdResolveImage<S, D>, Out = O>,
    S: ImageAccess + Send + Sync + Clone + 'static,
    D: ImageAccess + Send + Sync + Clone + 'static, 
[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<I, O> AddCommand<CmdSetEvent> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdSetEvent, Out = O>, 
[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<I, O> AddCommand<CmdSetState> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdSetState, Out = O>, 
[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<I, O, B, D> AddCommand<CmdUpdateBuffer<B, D>> for SubmitSyncBuilderLayer<I> where
    I: AddCommand<CmdUpdateBuffer<B, D>, Out = O>,
    B: BufferAccess + Send + Sync + Clone + 'static, 
[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