Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
ShotRenderer2D.h File Reference
Include dependency graph for ShotRenderer2D.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fireworks::graphics::ShotRenderer2D
 Renders the renderables on a per draw call basis. More...
 

Namespaces

 fireworks
 
 fireworks::graphics
 

Macros

#define SHOT_RENDERER_MAX_SPRITES   1
 
#define SHOT_RENDERER_VERTEX_SIZE   sizeof(VertexData)
 
#define SHOT_RENDERER_SPRITE_SIZE   SHOT_RENDERER_VERTEX_SIZE * 4
 
#define SHOT_RENDERER_BUFFER_SIZE   SHOT_RENDERER_SPRITE_SIZE * SHOT_RENDERER_MAX_SPRITES
 
#define SHOT_RENDERER_INDICES_SIZE   SHOT_RENDERER_MAX_SPRITES * 6
 

Macro Definition Documentation

◆ SHOT_RENDERER_BUFFER_SIZE

#define SHOT_RENDERER_BUFFER_SIZE   SHOT_RENDERER_SPRITE_SIZE * SHOT_RENDERER_MAX_SPRITES

◆ SHOT_RENDERER_INDICES_SIZE

#define SHOT_RENDERER_INDICES_SIZE   SHOT_RENDERER_MAX_SPRITES * 6

◆ SHOT_RENDERER_MAX_SPRITES

#define SHOT_RENDERER_MAX_SPRITES   1

◆ SHOT_RENDERER_SPRITE_SIZE

#define SHOT_RENDERER_SPRITE_SIZE   SHOT_RENDERER_VERTEX_SIZE * 4

◆ SHOT_RENDERER_VERTEX_SIZE

#define SHOT_RENDERER_VERTEX_SIZE   sizeof(VertexData)