From 2d4ef14973805714695d01fd8409dd2aec14b276 Mon Sep 17 00:00:00 2001 From: Stuart Millman Date: Tue, 19 Dec 2023 17:16:09 +0000 Subject: [PATCH] Add getters to Context --- src/VkMana/Context.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/VkMana/Context.hpp b/src/VkMana/Context.hpp index 62e60a4..68e2563 100644 --- a/src/VkMana/Context.hpp +++ b/src/VkMana/Context.hpp @@ -73,9 +73,12 @@ namespace VkMana /* Getters */ + auto GetPhysicalDevice() const -> auto { return m_gpu; } auto GetDevice() const -> auto { return m_device; } auto GetAllocator() const -> auto { return m_allocator; } + auto GetGraphicsQueue() const -> auto { return m_queueInfo.GraphicsQueue; } + auto GetFrameBufferCount() const -> auto { return m_frames.size(); } auto GetFrameIndex() const -> auto { return m_frameIndex; }