Overte C++ Documentation
vk/src/vk/Config.h
1 //
2 // Created by Bradley Austin Davis on 2016/03/19
3 // Copyright 2013-2018 High Fidelity, Inc.
4 // Copyright 2024 Overte e.V.
5 //
6 // Distributed under the Apache License, Version 2.0.
7 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
8 // SPDX-License-Identifier: Apache-2.0
9 //
10 
11 #pragma once
12 
13 #include <algorithm>
14 #include <functional>
15 #include <list>
16 #include <queue>
17 #include <set>
18 #include <string>
19 #include <vector>
20 
21 #include <glm/glm.hpp>
22 
23 
24 #include <QtGlobal>
25 #if defined(Q_OS_WIN)
26 #define VK_USE_PLATFORM_WIN32_KHR
27 #elif defined(Q_OS_ANDROID)
28 #define VK_USE_PLATFORM_ANDROID_KHR
29 #elif defined(Q_OS_DARWIN)
30 #else
31 #define VK_USE_PLATFORM_XCB_KHR
32 #endif
33 
34 #include <vulkan/vulkan.h>
35 
36 #define VULKAN_USE_VMA 1
37 
38 #if VULKAN_USE_VMA
39 #include "vk_mem_alloc.h"
40 #endif