nothing actually done

This commit is contained in:
MihailRis
2024-04-24 07:35:46 +03:00
parent 051f0b8c6a
commit 1ecc608ead
19 changed files with 44 additions and 48 deletions
+36
View File
@@ -0,0 +1,36 @@
#ifndef GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#define GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_
#include "../../typedefs.h"
#include <glm/glm.hpp>
#include <memory>
class Assets;
class ImageData;
class Atlas;
class Framebuffer;
class Batch3D;
class Block;
class Content;
class Shader;
class ContentGfxCache;
class BlocksPreview {
static std::unique_ptr<ImageData> draw(
const ContentGfxCache* cache,
Shader* shader,
Framebuffer* framebuffer,
Batch3D* batch,
const Block* block,
int size
);
public:
static std::unique_ptr<Atlas> build(
const ContentGfxCache* cache,
Assets* assets,
const Content* content
);
};
#endif // GRAPHICS_RENDER_BLOCKS_PREVIEW_HPP_