Struct vulkano::command_buffer::SecondaryGraphicsCommandBufferBuilder [] [src]

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

A prototype of a secondary compute command buffer.

Methods

impl<R> SecondaryGraphicsCommandBufferBuilder<R, Arc<StandardCommandPool>> where R: RenderPass + RenderPassDesc + 'static
[src]

Builds a new secondary command buffer and start recording commands in it.

The framebuffer parameter is optional and can be used as an optimisation.

Panic

  • Panics if the device or host ran out of memory.
  • Panics if the device and queue family do not belong to the same physical device.

impl<R, P> SecondaryGraphicsCommandBufferBuilder<R, P> where R: RenderPass + RenderPassDesc + 'static, P: CommandPool
[src]

See the docs of new().

Calls vkCmdDraw.

Calls vkCmdDrawIndexed.

Calls vkCmdDrawIndirect.

See the docs of build().

Finish recording commands and build the command buffer.

Panic

  • Panics if the device or host ran out of memory.