[ADD] custom rendering system

This commit is contained in:
Menno
2021-05-18 11:20:57 +02:00
parent e46e26c729
commit 0bb4cc5e1d
29 changed files with 8840 additions and 805 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include "../entities/Entity.h"
#include "../shaders/StaticShader.h"
namespace renderEngine
{
namespace renderer
{
/*
Call this function when starting the program
*/
void Init(shaders::StaticShader& shader);
/*
Call this function before rendering.
*/
void Prepare();
/*
Call this function when wanting to Render a mesh to the screen.
*/
void Render(entities::Entity& entity, shaders::StaticShader& shader);
}
}