redefrag SwapchainModule
This commit is contained in:
@@ -10,22 +10,22 @@ class SwapchainModule:public GraphModule
|
||||
|
||||
RTSwapchain *swapchain_rt=nullptr;
|
||||
|
||||
RenderPass *swapchain_rp=nullptr;
|
||||
|
||||
protected:
|
||||
|
||||
bool CreateSwapchainFBO();
|
||||
bool CreateSwapchain();
|
||||
|
||||
bool CreateSwapchainRenderTarget();
|
||||
|
||||
bool CreateSwapchainFBO(Swapchain *);
|
||||
|
||||
|
||||
public:
|
||||
|
||||
GRAPH_MODULE_CONSTRUCT(SwapchainModule)
|
||||
virtual ~SwapchainModule()=default;
|
||||
virtual ~SwapchainModule();
|
||||
|
||||
bool Init() override;
|
||||
|
||||
RenderPass * GetRenderPass () {return swapchain_rp;}
|
||||
|
||||
RTSwapchain * GetRenderTarget () {return swapchain_rt;}
|
||||
|
||||
const VkExtent2D & GetSwapchainSize()const {return swapchain_rt->GetExtent();}
|
||||
|
Reference in New Issue
Block a user