Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Defines.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #if _WIN32 || _WIN64
4 #if _WIN64
5 #define BITS uint64_t
9 #else
10 #define BITS uint32_t
14 #endif
15 #endif
16 
17 #ifndef RENDERER
18 #define RENDERER OpenGL
22 #endif
23 
24 #ifdef NDEBUG
25 #define RENDERER_DEMO 1
26 #endif
27 
28 #define OpenGL 1
29 #define Vulkan 2
30 
31 #if RENDERER == OpenGL
32 #define USING_OPENGL
33 #undef USING_VULKAN
34 #elif RENDERER == Vulkan
35 #undef USING_OPENGL
36 #define USING_VULKAN
37 #endif