2D_Game_Engine
Loading...
Searching...
No Matches
global.hpp
Go to the documentation of this file.
1#pragma once
2
3inline constexpr unsigned int MAX_QUADS=5000;
4inline constexpr unsigned int MAX_VERTICES=4*MAX_QUADS;
5inline constexpr unsigned int MAX_INDICES=6*MAX_QUADS;
6
10
11#ifdef EDITOR
12
13extern bool ANIMATIONS_PREVIEW;
14
15#endif
constexpr unsigned int MAX_VERTICES
Max number of vertices per draw call.
Definition global.hpp:4
constexpr unsigned int MAX_QUADS
Max number of quads per draw call.
Definition global.hpp:3
constexpr unsigned int MAX_INDICES
Max number of indices per draw call.
Definition global.hpp:5
LightType
Definition global.hpp:7
@ LIGHT_AROUND_POS_COLL
Definition global.hpp:8
@ ALL_LIGHT
Definition global.hpp:8
@ LIGHT_AROUND_POS
Definition global.hpp:8