From 74e5f766f8389264ded001327841ab8bcd996d6d Mon Sep 17 00:00:00 2001 From: Stuart Millman Date: Tue, 19 Dec 2023 18:08:08 +0000 Subject: [PATCH] Add graphics queue family getter to Context --- src/VkMana/Context.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/VkMana/Context.hpp b/src/VkMana/Context.hpp index 68e2563..5636bb2 100644 --- a/src/VkMana/Context.hpp +++ b/src/VkMana/Context.hpp @@ -77,6 +77,7 @@ namespace VkMana auto GetDevice() const -> auto { return m_device; } auto GetAllocator() const -> auto { return m_allocator; } + auto GetGraphicsQueueFamily() const -> auto { return m_queueInfo.GraphicsFamilyIndex; } auto GetGraphicsQueue() const -> auto { return m_queueInfo.GraphicsQueue; } auto GetFrameBufferCount() const -> auto { return m_frames.size(); }