forked from pupbrained/vulkan-test
few more comments
This commit is contained in:
parent
780a7301f5
commit
bac5d088f8
16
src/main.cpp
16
src/main.cpp
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue