From 78f8a9e4559c25daef4dda9e9c8a98a61e25588d Mon Sep 17 00:00:00 2001 From: Brandon Mak Date: Fri, 9 Sep 2022 13:55:00 +0800 Subject: [PATCH] Getter for physical device --- SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHGraphicsSystem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHGraphicsSystem.h b/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHGraphicsSystem.h index 322ad98f..9b867744 100644 --- a/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHGraphicsSystem.h +++ b/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHGraphicsSystem.h @@ -112,6 +112,7 @@ namespace SHADE Handle GetDevice() const { return device; } Handle GetSwapchain() const { return swapchain; } Handle GetSurface() const { return surface; } + Handle GetPhysicalDevice() const {return physicalDevice;} //Handle GetRenderPass() const { return renderPass; }