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