Struct vulkano::command_buffer::PrimaryCommandBufferBuilderSecondaryDraw
[−]
[src]
pub struct PrimaryCommandBufferBuilderSecondaryDraw { // some fields omitted }
Object that you obtain when calling draw_secondary
or next_subpass_secondary
.
Methods
impl PrimaryCommandBufferBuilderSecondaryDraw
[src]
fn next_subpass_inline(self) -> PrimaryCommandBufferBuilderInlineDraw
Switches to the next subpass of the current renderpass.
This function is similar to draw_inline
on the builder.
Panic
- Panicks if no more subpasses remain.
fn next_subpass_secondary(self) -> PrimaryCommandBufferBuilderSecondaryDraw
Switches to the next subpass of the current renderpass.
This function is similar to draw_secondary
on the builder.
Panic
- Panicks if no more subpasses remain.
fn execute_commands<R>(self, cb: &Arc<SecondaryGraphicsCommandBuffer<R>>) -> PrimaryCommandBufferBuilderSecondaryDraw where R: 'static + Send + Sync
Executes secondary graphics command buffers within this primary command buffer.
Panic
- Panicks if the secondary command buffers wasn't created with a compatible renderpass or is using the wrong subpass.