Skip to content

Commit

Permalink
Add getters to Context
Browse files Browse the repository at this point in the history
  • Loading branch information
stuart6854 committed Dec 19, 2023
1 parent 11775f2 commit 2d4ef14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/VkMana/Context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down

0 comments on commit 2d4ef14

Please sign in to comment.