pub struct SimpleRenderGroup<B: Backend, P> { /* private fields */ }
Expand description
Render group that consist of simple graphics pipeline.
Trait Implementations§
Source§impl<B, T, P> RenderGroup<B, T> for SimpleRenderGroup<B, P>
impl<B, T, P> RenderGroup<B, T> for SimpleRenderGroup<B, P>
Source§fn prepare(
&mut self,
factory: &Factory<B>,
queue: QueueId,
index: usize,
_subpass: Subpass<'_, B>,
aux: &T,
) -> PrepareResult
fn prepare( &mut self, factory: &Factory<B>, queue: QueueId, index: usize, _subpass: Subpass<'_, B>, aux: &T, ) -> PrepareResult
Prepare resources and data for rendering.
Source§fn draw_inline(
&mut self,
encoder: RenderPassEncoder<'_, B>,
index: usize,
_subpass: Subpass<'_, B>,
aux: &T,
)
fn draw_inline( &mut self, encoder: RenderPassEncoder<'_, B>, index: usize, _subpass: Subpass<'_, B>, aux: &T, )
Record commands.
Auto Trait Implementations§
impl<B, P> Freeze for SimpleRenderGroup<B, P>
impl<B, P> RefUnwindSafe for SimpleRenderGroup<B, P>where
<B as Backend>::PipelineLayout: RefUnwindSafe,
<B as Backend>::GraphicsPipeline: RefUnwindSafe,
P: RefUnwindSafe,
<B as Backend>::DescriptorSetLayout: RefUnwindSafe,
impl<B, P> Send for SimpleRenderGroup<B, P>where
P: Send,
impl<B, P> Sync for SimpleRenderGroup<B, P>where
P: Sync,
impl<B, P> Unpin for SimpleRenderGroup<B, P>
impl<B, P> UnwindSafe for SimpleRenderGroup<B, P>where
<B as Backend>::PipelineLayout: UnwindSafe,
<B as Backend>::GraphicsPipeline: UnwindSafe,
P: UnwindSafe,
<B as Backend>::DescriptorSetLayout: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more