Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
shotrenderer3d.h File Reference
#include "renderer3d.h"
#include "../renderables/renderable3d.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/string_cast.hpp>
Include dependency graph for shotrenderer3d.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fireworks::graphics::ShotRenderer3D
 Renders the 3D renderables on a per draw call basis. More...
 

Namespaces

 fireworks
 
 fireworks::graphics
 

Macros

#define SHOT_RENDERER3D_MAX_PRIMITIVES   1
 
#define SHOT_RENDERER3D_VERTEX_SIZE   sizeof(VertexData3D)
 
#define SHOT_RENDERER3D_DEFAULT_FACES   6
 
#define SHOT_RENDERER3D_PRIMITIVE_SIZE   SHOT_RENDERER3D_VERTEX_SIZE * SHOT_RENDERER3D_DEFAULT_FACES * 4
 
#define SHOT_RENDERER3D_BUFFER_SIZE   SHOT_RENDERER3D_PRIMITIVE_SIZE * SHOT_RENDERER3D_MAX_PRIMITIVES
 
#define SHOT_RENDERER3D_INDICES_SIZE   SHOT_RENDERER3D_MAX_PRIMITIVES * SHOT_RENDERER3D_DEFAULT_FACES * 6
 

Macro Definition Documentation

◆ SHOT_RENDERER3D_BUFFER_SIZE

#define SHOT_RENDERER3D_BUFFER_SIZE   SHOT_RENDERER3D_PRIMITIVE_SIZE * SHOT_RENDERER3D_MAX_PRIMITIVES

◆ SHOT_RENDERER3D_DEFAULT_FACES

#define SHOT_RENDERER3D_DEFAULT_FACES   6

◆ SHOT_RENDERER3D_INDICES_SIZE

#define SHOT_RENDERER3D_INDICES_SIZE   SHOT_RENDERER3D_MAX_PRIMITIVES * SHOT_RENDERER3D_DEFAULT_FACES * 6

◆ SHOT_RENDERER3D_MAX_PRIMITIVES

#define SHOT_RENDERER3D_MAX_PRIMITIVES   1

◆ SHOT_RENDERER3D_PRIMITIVE_SIZE

#define SHOT_RENDERER3D_PRIMITIVE_SIZE   SHOT_RENDERER3D_VERTEX_SIZE * SHOT_RENDERER3D_DEFAULT_FACES * 4

◆ SHOT_RENDERER3D_VERTEX_SIZE

#define SHOT_RENDERER3D_VERTEX_SIZE   sizeof(VertexData3D)