[DON'T WORK] added dependent modules ....

This commit is contained in:
2024-12-17 13:57:21 +08:00
parent d1c3934beb
commit 34846acae0
12 changed files with 150 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
#pragma once
#pragma once
#include<hgl/graph/module/GraphModule.h>
#include<hgl/type/SortedSet.h>
@@ -12,6 +12,8 @@ VK_NAMESPACE_BEGIN
class TextureManager:public GraphModule
{
RenderPassManager *rp_manager=nullptr;
DeviceQueue *texture_queue=nullptr;
TextureCmdBuffer *texture_cmd_buf=nullptr;
@@ -40,7 +42,7 @@ public:
GRAPH_MODULE_CONSTRUCT(TextureManager)
virtual ~TextureManager();
bool Init() override;
bool Init(GraphModulesMap *) override;
const VkFormatProperties GetFormatProperties(const VkFormat)const;