rendy_graph/
lib.rs

1//! Framegraph implementation for Rendy engine.
2
3#![warn(
4    missing_debug_implementations,
5    missing_copy_implementations,
6    missing_docs,
7    trivial_casts,
8    trivial_numeric_casts,
9    unused_extern_crates,
10    unused_import_braces,
11    unused_qualifications
12)]
13use rendy_chain as chain;
14use rendy_command as command;
15use rendy_core as core;
16use rendy_factory as factory;
17use rendy_frame as frame;
18use rendy_memory as memory;
19use rendy_resource as resource;
20use rendy_wsi as wsi;
21
22/// Id of the buffer in graph.
23#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
24pub struct BufferId(usize);
25
26/// Id of the image (or target) in graph.
27#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
28pub struct ImageId(usize);
29
30/// Id of the node in graph.
31#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
32pub struct NodeId(usize);
33
34mod graph;
35mod node;
36
37pub use self::{graph::*, node::*};