moved OnResize to GraphModule from RenderModule
This commit is contained in:
@@ -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;}
|
||||
|
Reference in New Issue
Block a user