voxel-engine/include/renderer.hpp

19 lines
331 B
C++
Raw Normal View History

2023-04-09 21:44:17 +02:00
#ifndef RENDERER_H
#define RENDERER_H
#include <oneapi/tbb/concurrent_unordered_set.h>
#include "chunk.hpp"
2023-04-09 21:44:17 +02:00
#include "shader.hpp"
namespace renderer{
void init();
void render();
void destroy();
Shader* getRenderShader();
oneapi::tbb::concurrent_unordered_set<Chunk::Chunk*>& getChunksToRender();
2023-04-09 21:44:17 +02:00
};
#endif