#ifndef FRONTEND_BLOCKS_PREVIEW_H_ #define FRONTEND_BLOCKS_PREVIEW_H_ #include "../typedefs.h" #include "../graphics/Shader.h" #include #include class Assets; class ImageData; class Atlas; class Framebuffer; class Batch3D; class Block; class Content; class ContentGfxCache; class BlocksPreview { static ImageData* draw( const ContentGfxCache* cache, Shader* shader, Framebuffer* framebuffer, Batch3D* batch, const Block* block, int size ); public: static std::unique_ptr build( const ContentGfxCache* cache, Assets* assets, const Content* content ); }; #endif // FRONTEND_BLOCKS_PREVIEW_H_