26#include <android/log.h>
27#include <android_native_app_glue.h>
30#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
31#include <vulkan/vulkan.hpp>
33#include <glm/gtx/string_cast.hpp>
36#define XR_USE_PLATFORM_ANDROID
40#define XR_USE_GRAPHICS_API_VULKAN
41#include <openxr/openxr.h>
42#include<openxr/openxr_platform.h>
43#include<openxr/openxr_platform_defines.h>
44#include<openxr/openxr_reflection.h>
51#include <android/log.h>
52#include <android_native_app_glue.h>
57#define PRINT(...) ((void)__android_log_print(ANDROID_LOG_INFO, "DEBUG", __VA_ARGS__))
59#define PRINT(...) printf(__VA_ARGS__); printf("\n")
65#include "openxr/openxr_oculus.h"
91 std::vector<vk::SurfaceFormatKHR>
formats;
Struct that contains the capability for the sapchain, the formats and the present mode supported.
vk::SurfaceCapabilitiesKHR capabilities
std::vector< vk::SurfaceFormatKHR > formats
std::vector< vk::PresentModeKHR > presentModes