pub struct ViewRenderGraph { /* private fields */ }Expand description
Render graph per-view.
Implementations§
Source§impl ViewRenderGraph
impl ViewRenderGraph
pub fn new() -> Self
pub fn insert_node( &mut self, node: impl AnyViewRenderNodeTrait + Send + Sync + 'static, ) -> ViewRenderNodeKey
Methods from Deref<Target = Graph<ViewRenderNodeKey, Box<dyn AnyViewRenderNodeTrait + Send + Sync>>>§
pub fn insert_node(&mut self, node: N) -> K
pub fn insert_edge(&mut self, from: K, to: K)
pub fn iter(&self) -> GraphTopoIter<'_, K, N> ⓘ
Trait Implementations§
Source§impl AnyViewRenderNodeTrait for ViewRenderGraph
impl AnyViewRenderNodeTrait for ViewRenderGraph
fn exec( &self, scope: &mut Scope<'_, CommandEncoder>, render_ctx: RenderContext<'_>, viewport: &ViewportGpuPacket, )
Source§impl Default for ViewRenderGraph
impl Default for ViewRenderGraph
Source§fn default() -> ViewRenderGraph
fn default() -> ViewRenderGraph
Returns the “default value” for a type. Read more
Source§impl Deref for ViewRenderGraph
impl Deref for ViewRenderGraph
Source§impl DerefMut for ViewRenderGraph
impl DerefMut for ViewRenderGraph
Source§impl GlobalRenderNodeTrait for ViewRenderGraph
impl GlobalRenderNodeTrait for ViewRenderGraph
type Query = ViewportGpuPacket
fn run( &self, encoder: &mut Scope<'_, CommandEncoder>, viewports: <Self::Query as RenderPacketsQuery>::Output<'_>, render_ctx: RenderContext<'_>, )
Auto Trait Implementations§
impl Freeze for ViewRenderGraph
impl !RefUnwindSafe for ViewRenderGraph
impl Send for ViewRenderGraph
impl Sync for ViewRenderGraph
impl Unpin for ViewRenderGraph
impl UnsafeUnpin for ViewRenderGraph
impl !UnwindSafe for ViewRenderGraph
Blanket Implementations§
Source§impl<T> AnyGlobalRenderNodeTrait for Twhere
T: GlobalRenderNodeTrait,
impl<T> AnyGlobalRenderNodeTrait for Twhere
T: GlobalRenderNodeTrait,
fn exec( &self, encoder: &mut Scope<'_, CommandEncoder>, render_ctx: RenderContext<'_>, )
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().