redefined RenderFramework
This commit is contained in:
parent
2ffe402fae
commit
4f870edc3b
@ -90,6 +90,10 @@ public:
|
|||||||
virtual ~GraphModuleWorkConfig()=default;
|
virtual ~GraphModuleWorkConfig()=default;
|
||||||
};//class GraphModuleWorkConfig
|
};//class GraphModuleWorkConfig
|
||||||
|
|
||||||
|
class Window;
|
||||||
|
class SwapchainModule;
|
||||||
|
class TextureModule;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 渲染框架
|
* 渲染框架
|
||||||
*/
|
*/
|
||||||
@ -99,17 +103,19 @@ class RenderFramework
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
ViewportInfo viewport_info;
|
Window * win =nullptr;
|
||||||
|
VulkanInstance * inst =nullptr;
|
||||||
|
|
||||||
int swap_chain_count =0;
|
GPUDevice * device =nullptr;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
GPUDevice * device =nullptr;
|
TextureModule * texture_module =nullptr;
|
||||||
RenderPass * device_render_pass =nullptr;
|
SwapchainModule * swapchain_module =nullptr;
|
||||||
RTSwapchain * default_rt =nullptr;
|
|
||||||
|
|
||||||
RenderCmdBuffer ** render_cmd_buffers =nullptr;
|
protected:
|
||||||
|
|
||||||
|
ViewportInfo viewport_info;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user