diff --git a/src/main.cpp b/src/main.cpp index 9a8adfa..27b72dd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,17 +81,25 @@ class VulkanApp { } private: + // GLFW instance vkfw::UniqueInstance mVKFWInstance; - vkfw::UniqueWindow mWindow; + // GLFW window + vkfw::UniqueWindow mWindow; + // Vulkan instance vk::UniqueInstance mInstance; + // Debug messenger vk::UniqueDebugUtilsMessengerEXT mDebugMessenger; - vk::UniqueSurfaceKHR mSurface; + // Window surface + vk::UniqueSurfaceKHR mSurface; - vk::PhysicalDevice mPhysicalDevice; + // Represents the physical device + vk::PhysicalDevice mPhysicalDevice; + // Number of MSAA samples vk::SampleCountFlagBits mMsaaSamples; - vk::UniqueDevice mDevice; + // Represents the logical device + vk::UniqueDevice mDevice; vk::Queue mGraphicsQueue; vk::Queue mPresentQueue;