mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
ContentGfxCache
This commit is contained in:
parent
bf4ad5ca58
commit
d92347097e
14 changed files with 86 additions and 51 deletions
|
|
@ -21,6 +21,7 @@ class Texture;
|
|||
class Frustum;
|
||||
class Engine;
|
||||
class Chunks;
|
||||
class ContentGfxCache;
|
||||
|
||||
class WorldRenderer {
|
||||
Engine* engine;
|
||||
|
|
@ -32,7 +33,7 @@ class WorldRenderer {
|
|||
void drawChunks(Chunks* chunks, Camera* camera, Shader* shader, bool occlusion);
|
||||
public:
|
||||
|
||||
WorldRenderer(Engine* engine, Level* level);
|
||||
WorldRenderer(Engine* engine, Level* level, const ContentGfxCache* cache);
|
||||
~WorldRenderer();
|
||||
|
||||
void draw(const GfxContext& context, Camera* camera, bool occlusion);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue