3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/FontHandle.h"
7#include "mc/client/gui/ScreenRenderer.h"
8#include "mc/deps/core/math/Color.h"
9#include "mc/deps/input/InputRenderContext.h"
10#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
17namespace mce {
class TextureGroup; }
33 ::ll::TypedStorage<4, 16, ::mce::Color> mCurrentColor;
34 ::ll::TypedStorage<8, 80, ::FontHandle> mFontHandle;
35 ::ll::TypedStorage<8, 24, ::std::vector<::MinecraftInputRenderContext::TextItem>> mTextToDraw;
36 ::ll::TypedStorage<8, 8, ::ScreenContext&> mScreenContext;
37 ::ll::TypedStorage<8, 8, ::Tessellator&> mTessellator;
38 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mTexture;
39 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::mce::TextureGroup>> mTextureGroup;
53 virtual void setColor(::mce::Color
const& color) ;
55 virtual void drawRect(
56 ::RectangleArea
const& rect,
67 virtual ::RectangleArea measureText(::glm::vec2
const& center, ::std::string
const& text)
const ;
69 virtual void drawText(::RectangleArea
const& area, ::std::string
const& text) ;
71 virtual void forceRender(::std::string
const& texturePath) ;
79 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
83 MCAPI
void render(::mce::TexturePtr overrideTexture);
102 MCAPI
void $setColor(::mce::Color
const& color);
104 MCAPI
void $drawRect(
105 ::RectangleArea
const& rect,
116 MCAPI ::RectangleArea $measureText(::glm::vec2
const& center, ::std::string
const& text)
const;
118 MCAPI
void $drawText(::RectangleArea
const& area, ::std::string
const& text);
120 MCAPI
void $forceRender(::std::string
const& texturePath);
Definition FontHandle.h:5
Definition InputRenderContext.h:5
Definition MinecraftInputRenderContext.h:5
static MCAPI void ** $vftable()
Definition ScreenContext.h:5
Definition ScreenRenderer.h:5
Definition Tessellator.h:5
Definition MinecraftInputRenderContext.h:28