pub struct PassRef<'a> { /* private fields */ }Implementations
sourceimpl<'a> PassRef<'a>
impl<'a> PassRef<'a>
sourcepub fn access_node(
self,
node: impl Node + Information,
access: AccessType
) -> Self
pub fn access_node(
self,
node: impl Node + Information,
access: AccessType
) -> Self
Instruct the graph to provide vulkan barriers around access to the given node.
The resolver will insert an execution barrier into the command buffer as required using the provided access type. This allows you to do whatever was declared here inside an excution callback registered after this call.
sourcepub fn access_node_subrange<N>(
self,
node: N,
access: AccessType,
subresource: impl Into<N::Subresource>
) -> Self where
N: View,
pub fn access_node_subrange<N>(
self,
node: N,
access: AccessType,
subresource: impl Into<N::Subresource>
) -> Self where
N: View,
Instruct the graph to provide vulkan barriers around access to the given node with specific information about the subresource being accessed.
The resolver will insert an execution barrier into the command buffer as required using the provided access type. This allows you to do whatever was declared here inside an excution callback registered after this call.
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>,
pub fn read_node(self, node: impl Node + Information) -> Self
pub fn record_acceleration(
self,
func: impl FnOnce(Acceleration<'_>) + Send + 'static
) -> Self
pub fn record_cmd_buf(
self,
func: impl FnOnce(&Device, CommandBuffer, Bindings<'_>) + Send + 'static
) -> Self
pub fn submit_pass(self) -> &'a mut RenderGraph
pub fn write_node(self, node: impl Node + Information) -> Self
Trait Implementations
sourceimpl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, ComputePipeline>> for &'a Arc<ComputePipeline>
impl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, ComputePipeline>> for &'a Arc<ComputePipeline>
fn bind(self, pass: PassRef<'a>) -> PipelinePassRef<'_, ComputePipeline>
sourceimpl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, GraphicPipeline>> for &'a Arc<GraphicPipeline>
impl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, GraphicPipeline>> for &'a Arc<GraphicPipeline>
fn bind(self, pass: PassRef<'a>) -> PipelinePassRef<'_, GraphicPipeline>
sourceimpl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, RayTracePipeline>> for &'a Arc<RayTracePipeline>
impl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, RayTracePipeline>> for &'a Arc<RayTracePipeline>
fn bind(self, pass: PassRef<'a>) -> PipelinePassRef<'_, RayTracePipeline>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PassRef<'a>
impl<'a> Send for PassRef<'a>
impl<'a> !Sync for PassRef<'a>
impl<'a> Unpin for PassRef<'a>
impl<'a> !UnwindSafe for PassRef<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more