moved OnResize to GraphModule from RenderModule

This commit is contained in:
2025-01-19 19:41:57 +08:00
parent 96c3718b2a
commit 414142283b
2 changed files with 5 additions and 3 deletions

View File

@@ -16,6 +16,10 @@ public:
const GPUPhysicalDevice * GetPhysicalDevice ()const {return device->GetPhysicalDevice();} ///<取得物理设备
GPUDeviceAttribute *GetDeviceAttribute () {return device->GetDeviceAttribute();} ///<取得设备属性
public:
virtual void OnResize(const VkExtent2D &){}; ///<窗口大小改变
public:
GraphModule(GPUDevice *dev){device=dev;}