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

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

Layer around a command buffer builder that checks whether the commands added to it match the type of the queue family of the underlying builder.

Commands that perform graphical or compute operations can only be executed on queue families that support graphical or compute operations. This is what this layer verifies.

Methods

impl<I> QueueTyCheckLayer<I>
[src]

Builds a new QueueTyCheckLayer.

Destroys the layer and returns the underlying command buffer.

Trait Implementations

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

Returns the device that owns Self.

impl<I> CommandBufferBuilder for QueueTyCheckLayer<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<I, O, E> CommandBufferBuild for QueueTyCheckLayer<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<'a, I, O, S, D> AddCommand<CmdCopyBuffer<S, D>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdCopyBuffer<S, D>, 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, S, D> AddCommand<CmdCopyBufferToImage<S, D>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdCopyBufferToImage<S, D>, 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, S, D> AddCommand<CmdCopyImage<S, D>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdCopyImage<S, D>, 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, B> AddCommand<CmdFillBuffer<B>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdFillBuffer<B>, 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, B, D> AddCommand<CmdUpdateBuffer<B, D>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdUpdateBuffer<B, D>, 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, Rp, F> AddCommand<CmdBeginRenderPass<Rp, F>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdBeginRenderPass<Rp, F>, 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, B> AddCommand<CmdBindIndexBuffer<B>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdBindIndexBuffer<B>, 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 QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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, S, D> AddCommand<CmdBlitImage<S, D>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdBlitImage<S, D>, 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> AddCommand<CmdClearAttachments> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O> AddCommand<CmdDrawIndexedRaw> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O, B> AddCommand<CmdDrawIndirectRaw<B>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdDrawIndirectRaw<B>, 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> AddCommand<CmdDrawRaw> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O> AddCommand<CmdEndRenderPass> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O> AddCommand<CmdNextSubpass> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O, S, D> AddCommand<CmdResolveImage<S, D>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdResolveImage<S, D>, 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> AddCommand<CmdDispatchRaw> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O, Pc, Pl> AddCommand<CmdPushConstants<Pc, Pl>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O> AddCommand<CmdSetEvent> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<'a, I, O> AddCommand<CmdSetState> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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, Pl> AddCommand<CmdBindPipeline<Pl>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdBindPipeline<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, Pl> AddCommand<CmdBindDescriptorSets<S, Pl>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + 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<I, O, C> AddCommand<CmdExecuteCommands<C>> for QueueTyCheckLayer<I> where
    I: CommandBufferBuilder + AddCommand<CmdExecuteCommands<C>, Out = O>,
    C: CommandBuffer
[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