Skip to content

Commit

Permalink
Add graphics queue family getter to Context
Browse files Browse the repository at this point in the history
  • Loading branch information
stuart6854 committed Dec 19, 2023
1 parent 2d4ef14 commit 74e5f76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VkMana/Context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }
Expand Down

0 comments on commit 74e5f76

Please sign in to comment.