summaryrefslogtreecommitdiff
path: root/src/render/AsyncResourceGatherer.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-09-18 22:10:30 +0200
committerGitHub <noreply@github.com>2025-09-18 22:10:30 +0200
commit4fc95d646dbbe71744fb4e02ca0e995b652bffe5 (patch)
treed2cfad68788de39712289d3e5aab54ebb20ef22e /src/render/AsyncResourceGatherer.hpp
parent91f592a87509436dc6f6ea7b3d6705ed7c5af046 (diff)
renderer: asynchronously load background tex (#11749)
Bumps required hyprgraphics to 0.1.6 --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'src/render/AsyncResourceGatherer.hpp')
-rw-r--r--src/render/AsyncResourceGatherer.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/AsyncResourceGatherer.hpp b/src/render/AsyncResourceGatherer.hpp
new file mode 100644
index 00000000..98f7525e
--- /dev/null
+++ b/src/render/AsyncResourceGatherer.hpp
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <hyprgraphics/resource/AsyncResourceGatherer.hpp>
+#include <hyprgraphics/resource/resources/ImageResource.hpp>
+
+#include "../helpers/memory/Memory.hpp"
+
+inline UP<Hyprgraphics::CAsyncResourceGatherer> g_pAsyncResourceGatherer; \ No newline at end of file