#ifndef TYPES_H #define TYPES_H #pragma once #if defined(Q_OS_ANDROID) #define VK_USE_PLATFORM_ANDROID_KHR // Enable Vulkan support for Android #elif defined(Q_OS_LINUX) #define VK_USE_PLATFORM_XCB_KHR // Enable Vulkan support for Linux (XCB) #include #endif #include #include //#define VK_USE_PLATFORM_ //#define GLFW_INCLUDE_VULKAN //#include //#define GLFW_EXPOSE_NATIVE_ //#include #define GLM_FORCE_RADIANS //#define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES #define GLM_FORCE_DEPTH_ZERO_TO_ONE #include #include #include #include #include struct SwapChainSupportDetails { VkSurfaceCapabilitiesKHR capabilities; std::vector formats; std::vector presentModes; }; #endif // TYPES_H