Files
Towards/external/loft/modules/render_graph/include/DependencyGraph.hpp
Martin Slachta a04f0dc262 initial
2026-07-18 14:31:15 +02:00

25 lines
399 B
C++

#pragma once
#include "RenderPass.hpp"
namespace lft::rg {
/*
* DependencyGraph is a class that represents a dynamic dependency graph for tasks in a render graph.
*/
class DependencyGraph {
private:
std::vector<TaskInfo> m_queue;
public:
DependencyGraph();
uint32_t add_task(const TaskInfo& task);
void remove_task(const TaskInfo& task);
std::vector<TaskInfo>& build_queue();
};
}