From bac5d088f8dd006654e1b1a931bae0527943a4c0 Mon Sep 17 00:00:00 2001 From: pupbrained Date: Sat, 12 Oct 2024 19:05:31 -0400 Subject: [PATCH] few more comments --- src/main.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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;