Trait screen_13::prelude::Bind

source ·
pub trait Bind<Graph, Node> {
    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§

Binds the resource to a graph-like object.

Returns a reference Node object.

Implementations on Foreign Types§

Implementors§