Trait screen_13::graph::Bind

source ·
pub trait Bind<Graph, Node> {
    // Required method
    fn bind(self, graph: Graph) -> Node;
}
Expand description

A trait for resources which may be bound to a RenderGraph.

See RenderGraph::bind_node and PassRef::bind_pipeline for details.

Required Methods§

source

fn bind(self, graph: Graph) -> Node

Binds the resource to a graph-like object.

Returns a reference Node object.

Implementations on Foreign Types§

source§

impl Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for Arc<Lease<AccelerationStructure>>

source§

impl Bind<&mut RenderGraph, AccelerationStructureNode> for Arc<AccelerationStructure>

source§

impl Bind<&mut RenderGraph, BufferLeaseNode> for Arc<Lease<Buffer>>

source§

fn bind(self, graph: &mut RenderGraph) -> BufferLeaseNode

source§

impl Bind<&mut RenderGraph, BufferNode> for Arc<Buffer>

source§

fn bind(self, graph: &mut RenderGraph) -> BufferNode

source§

impl Bind<&mut RenderGraph, ImageLeaseNode> for Arc<Lease<Image>>

source§

fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode

source§

impl Bind<&mut RenderGraph, ImageNode> for Arc<Image>

source§

fn bind(self, graph: &mut RenderGraph) -> ImageNode

source§

impl<'a> Bind<&mut RenderGraph, AccelerationStructureLeaseNode> for &'a Arc<Lease<AccelerationStructure>>

source§

impl<'a> Bind<&mut RenderGraph, AccelerationStructureNode> for &'a Arc<AccelerationStructure>

source§

impl<'a> Bind<&mut RenderGraph, BufferLeaseNode> for &'a Arc<Lease<Buffer>>

source§

fn bind(self, graph: &mut RenderGraph) -> BufferLeaseNode

source§

impl<'a> Bind<&mut RenderGraph, BufferNode> for &'a Arc<Buffer>

source§

fn bind(self, graph: &mut RenderGraph) -> BufferNode

source§

impl<'a> Bind<&mut RenderGraph, ImageLeaseNode> for &'a Arc<Lease<Image>>

source§

fn bind(self, graph: &mut RenderGraph) -> ImageLeaseNode

source§

impl<'a> Bind<&mut RenderGraph, ImageNode> for &'a Arc<Image>

source§

fn bind(self, graph: &mut RenderGraph) -> ImageNode

source§

impl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, ComputePipeline>> for &'a Arc<ComputePipeline>

source§

impl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, GraphicPipeline>> for &'a Arc<GraphicPipeline>

source§

impl<'a> Bind<PassRef<'a>, PipelinePassRef<'a, RayTracePipeline>> for &'a Arc<RayTracePipeline>

Implementors§