Acheron
Loading...
Searching...
No Matches
renderer.hpp
1#pragma once
2
3#include "acheron.hpp"
4
5#include "material.hpp"
6#include "shader.hpp"
7#include "types/basic.hpp"
8
9namespace acheron::renderer {
19
23 struct ClearColor : public Color {};
24
29 void Register(ecs::World& world) override;
30 };
31}
Central context for the ECS.
Definition world.hpp:20
The base struct a Module should inherit.
Definition module.hpp:9
ClearColor singleton, set this to change the window clear color.
Definition renderer.hpp:23
Module to import to initialize the renderer.
Definition renderer.hpp:28
void Register(ecs::World &world) override
Called when a module is imported.
Definition renderer.cpp:70
Global renderer singleton.
Definition renderer.hpp:13
Shader basicShader
Global shader for basic rendering.
Definition renderer.hpp:16
bool initialized
Check for when the renderer is initialized, safety.
Definition renderer.hpp:14
Shader instancedShader
Global shader for instanced rendering.
Definition renderer.hpp:17
Wrapper for OpenGL shaders.
Definition shader.hpp:14