pub struct PassRef<'a, P> where
P: SharedPointerKind, { /* private fields */ }Implementations
sourceimpl<'a, P> PassRef<'a, P> where
P: SharedPointerKind + 'static,
impl<'a, P> PassRef<'a, P> where
P: SharedPointerKind + 'static,
pub fn access_node(self, node: impl Node<P>, access: AccessType) -> Self
pub fn bind_pipeline<B>(self, binding: B) -> <B as Edge<Self>>::Result where
B: Edge<Self>,
B: Bind<Self, <B as Edge<Self>>::Result, P>,
pub fn execute_pass(
self,
func: impl FnOnce(&Device, CommandBuffer, Bindings<'_, P>) + 'static
) -> &'a mut RenderGraph<P>
pub fn read_node(self, node: impl Node<P>) -> Self
pub fn submit_pass(self) -> &'a mut RenderGraph<P>
pub fn write_node(self, node: impl Node<P>) -> Self
Trait Implementations
sourceimpl<'a, P> Bind<PassRef<'a, P>, PipelinePassRef<'a, ComputePipeline<P>, P>, P> for &'a Shared<ComputePipeline<P>, P> where
P: SharedPointerKind + 'static,
impl<'a, P> Bind<PassRef<'a, P>, PipelinePassRef<'a, ComputePipeline<P>, P>, P> for &'a Shared<ComputePipeline<P>, P> where
P: SharedPointerKind + 'static,
fn bind(
self,
pass: PassRef<'a, P>
) -> PipelinePassRef<'_, ComputePipeline<P>, P>
sourceimpl<'a, P> Bind<PassRef<'a, P>, PipelinePassRef<'a, GraphicPipeline<P>, P>, P> for &'a Shared<GraphicPipeline<P>, P> where
P: SharedPointerKind + 'static,
impl<'a, P> Bind<PassRef<'a, P>, PipelinePassRef<'a, GraphicPipeline<P>, P>, P> for &'a Shared<GraphicPipeline<P>, P> where
P: SharedPointerKind + 'static,
fn bind(
self,
pass: PassRef<'a, P>
) -> PipelinePassRef<'_, GraphicPipeline<P>, P>
sourceimpl<'a, P> Bind<PassRef<'a, P>, PipelinePassRef<'a, RayTracePipeline<P>, P>, P> for &'a Shared<RayTracePipeline<P>, P> where
P: SharedPointerKind + 'static,
impl<'a, P> Bind<PassRef<'a, P>, PipelinePassRef<'a, RayTracePipeline<P>, P>, P> for &'a Shared<RayTracePipeline<P>, P> where
P: SharedPointerKind + 'static,
fn bind(
self,
pass: PassRef<'a, P>
) -> PipelinePassRef<'_, RayTracePipeline<P>, P>
Auto Trait Implementations
impl<'a, P> !RefUnwindSafe for PassRef<'a, P>
impl<'a, P> !Send for PassRef<'a, P>
impl<'a, P> !Sync for PassRef<'a, P>
impl<'a, P> Unpin for PassRef<'a, P>
impl<'a, P> !UnwindSafe for PassRef<'a, P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more