[−][src]Trait rendy_graph::render::SimpleGraphicsPipeline
Simple render pipeline.
Associated Types
type Desc: SimpleGraphicsPipelineDesc<B, T, Pipeline = Self>
This pipeline descriptor.
Required methods
fn draw(
&mut self,
layout: &B::PipelineLayout,
encoder: RenderPassEncoder<B>,
index: usize,
aux: &T
)
&mut self,
layout: &B::PipelineLayout,
encoder: RenderPassEncoder<B>,
index: usize,
aux: &T
)
Record drawing commands to the command buffer provided.
fn dispose(self, factory: &mut Factory<B>, aux: &T)
Free all resources and destroy pipeline instance.
Provided methods
fn builder() -> DescBuilder<B, T, SimpleRenderGroupDesc<Self::Desc>> where
Self::Desc: Default,
Self::Desc: Default,
Make simple render group builder.
fn prepare(
&mut self,
_factory: &Factory<B>,
_queue: QueueId,
_set_layouts: &[Handle<DescriptorSetLayout<B>>],
_index: usize,
_aux: &T
) -> PrepareResult
&mut self,
_factory: &Factory<B>,
_queue: QueueId,
_set_layouts: &[Handle<DescriptorSetLayout<B>>],
_index: usize,
_aux: &T
) -> PrepareResult
Prepare to record drawing commands.
Should return true if commands must be re-recorded.