This commit is contained in:
Martin Slachta
2026-07-18 14:31:15 +02:00
commit a04f0dc262
3343 changed files with 1140208 additions and 0 deletions
@@ -0,0 +1,24 @@
#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();
};
}