2D_Game_Engine
Loading...
Searching...
No Matches
Enumerations | Variables
global.hpp File Reference

Go to the source code of this file.

Enumerations

enum  LightType { ALL_LIGHT , LIGHT_AROUND_POS , LIGHT_AROUND_POS_COLL }
 

Variables

constexpr unsigned int MAX_QUADS =5000
 Max number of quads per draw call.
 
constexpr unsigned int MAX_VERTICES =4*MAX_QUADS
 Max number of vertices per draw call.
 
constexpr unsigned int MAX_INDICES =6*MAX_QUADS
 Max number of indices per draw call.
 

Enumeration Type Documentation

◆ LightType

enum LightType
Enumerator
ALL_LIGHT 
LIGHT_AROUND_POS 
LIGHT_AROUND_POS_COLL 

Definition at line 7 of file global.hpp.

Variable Documentation

◆ MAX_INDICES

constexpr unsigned int MAX_INDICES =6*MAX_QUADS
inlineconstexpr

Max number of indices per draw call.

Definition at line 5 of file global.hpp.

◆ MAX_QUADS

constexpr unsigned int MAX_QUADS =5000
inlineconstexpr

Max number of quads per draw call.

Definition at line 3 of file global.hpp.

◆ MAX_VERTICES

constexpr unsigned int MAX_VERTICES =4*MAX_QUADS
inlineconstexpr

Max number of vertices per draw call.

Definition at line 4 of file global.hpp.