Getter for physical device

This commit is contained in:
Brandon Mak 2022-09-09 13:55:00 +08:00
parent 94a358995a
commit 78f8a9e455
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ namespace SHADE
Handle<SHVkLogicalDevice> GetDevice() const { return device; } Handle<SHVkLogicalDevice> GetDevice() const { return device; }
Handle<SHVkSwapchain> GetSwapchain() const { return swapchain; } Handle<SHVkSwapchain> GetSwapchain() const { return swapchain; }
Handle<SHVkSurface> GetSurface() const { return surface; } Handle<SHVkSurface> GetSurface() const { return surface; }
Handle<SHVkPhysicalDevice> GetPhysicalDevice() const {return physicalDevice;}
//Handle<SHVkRenderpass> GetRenderPass() const { return renderPass; } //Handle<SHVkRenderpass> GetRenderPass() const { return renderPass; }