few more comments

This commit is contained in:
Mars 2024-10-12 19:05:31 -04:00
parent 780a7301f5
commit bac5d088f8
Signed by untrusted user: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -81,17 +81,25 @@ class VulkanApp {
} }
private: private:
// GLFW instance
vkfw::UniqueInstance mVKFWInstance; vkfw::UniqueInstance mVKFWInstance;
vkfw::UniqueWindow mWindow; // GLFW window
vkfw::UniqueWindow mWindow;
// Vulkan instance
vk::UniqueInstance mInstance; vk::UniqueInstance mInstance;
// Debug messenger
vk::UniqueDebugUtilsMessengerEXT mDebugMessenger; 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::SampleCountFlagBits mMsaaSamples;
vk::UniqueDevice mDevice; // Represents the logical device
vk::UniqueDevice mDevice;
vk::Queue mGraphicsQueue; vk::Queue mGraphicsQueue;
vk::Queue mPresentQueue; vk::Queue mPresentQueue;