1 #ifndef BLANK_WORLD_CHUNKRENDERER_HPP_
2 #define BLANK_WORLD_CHUNKRENDERER_HPP_
6 #include "../graphics/ArrayTexture.hpp"
7 #include "../graphics/BlockMesh.hpp"
23 explicit ChunkRenderer(ChunkIndex &);
26 void LoadTextures(const AssetLoader &, const ResourceIndex &);
27 void FogDensity(float d) noexcept { fog_density = d; }
29 int MissingChunks() const noexcept;
33 void Render(Viewport &);
37 std::vector<BlockMesh> models;
39 ArrayTexture block_tex;