rendy_frame::cirque

Type Alias CommandCirque

Source
pub type CommandCirque<B, C, P = OutsideRenderPass, L = PrimaryLevel> = Cirque<CommandBuffer<B, C, ExecutableState<MultiShot, P>, L, IndividualReset>, CommandBuffer<B, C, InitialState, L, IndividualReset>, CommandBuffer<B, C, PendingState<ExecutableState<MultiShot, P>>, L, IndividualReset>>;
Expand description

Aliased Type§

struct CommandCirque<B, C, P = OutsideRenderPass, L = PrimaryLevel> { /* private fields */ }

Implementations§

Source§

impl<B, C, P, L> CommandCirque<B, C, P, L>
where B: Backend, L: Level, C: Capability, P: RenderPassRelation<L>,

Source

pub fn encode<'a>( &'a mut self, frames: &Frames<B>, pool: &mut CommandPool<B, C, IndividualReset>, encode: impl FnOnce(CommandCirqueRef<'a, B, C, P, L>) -> CommandReadyRef<'a, B, C, P, L>, ) -> Submit<B, NoSimultaneousUse, L, P>

Encode and submit.