sandbox
Loading...
Searching...
No Matches
render_graph.hpp
1#ifndef LIBSBX_GRAPHICS_RENDER_GRAPH_HPP_
2#define LIBSBX_GRAPHICS_RENDER_GRAPH_HPP_
3
4#include <vector>
5
6#include <libsbx/memory/observer_ptr.hpp>
7
8namespace sbx::graphics {
9
10class pass {
11
12}; // class pass
13
14class graph {
15
16public:
17
18 class node {
19
20 }; // class node
21
22private:
23
24 std::vector<node> _nodes;
25
26}; // class graph
27
29
30public:
31
32protected:
33
35 : _graph{memory::make_observer(graph)} { }
36
37private:
38
40
41}; // class graph_builder
42
44
45 using base = graph_builder;
46
47public:
48
50 : base{_graph} { }
51
52private:
53
54 graph _graph;
55
56}; // class render_graph
57
58} // namespace sbx::graphics
59
60#endif // LIBSBX_GRAPHICS_RENDER_GRAPH_HPP_
Definition: render_graph.hpp:18
Definition: render_graph.hpp:28
Definition: render_graph.hpp:14
Definition: render_graph.hpp:10
Definition: render_graph.hpp:43
A non-owning pointer that can be used to observe the value of a pointer.
Definition: observer_ptr.hpp:27