Struct vulkano::command_buffer::PrimaryCommandBufferBuilderSecondaryDraw [] [src]

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

Object that you obtain when calling draw_secondary or next_subpass_secondary.

Methods

impl<P> PrimaryCommandBufferBuilderSecondaryDraw<P> where P: CommandPool
[src]

Switches to the next subpass of the current renderpass.

This function is similar to draw_inline on the builder.

Panic

  • Panics if no more subpasses remain.

Switches to the next subpass of the current renderpass.

This function is similar to draw_secondary on the builder.

Panic

  • Panics if no more subpasses remain.

Executes secondary graphics command buffers within this primary command buffer.

Panic

  • Panics if the secondary command buffers wasn't created with a compatible renderpass or is using the wrong subpass.

Finish drawing this renderpass and get back the builder.

Panic

  • Panics if not at the last subpass.