LeviLamina
Loading...
Searching...
No Matches
InputRenderContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class RectangleArea;
8namespace mce { class Color; }
9// clang-format on
10
12public:
13 // virtual functions
14 // NOLINTBEGIN
15 virtual ~InputRenderContext() = 0;
16
17 virtual void setColor(::mce::Color const& color) = 0;
18
19 virtual void drawRect(
20 ::RectangleArea const& rect,
21 int u,
22 int v,
23 int uvWidth,
24 int uvHeight,
25 float uScale,
26 float vScale,
27 float px,
28 float py
29 ) const = 0;
30
31 virtual void forceRender(::std::string const& texturePath) = 0;
32
33 virtual ::RectangleArea measureText(::glm::vec2 const& center, ::std::string const& text) const = 0;
34
35 virtual void drawText(::RectangleArea const& area, ::std::string const& text) = 0;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41
42 // NOLINTEND
43
44public:
45 // vftables
46 // NOLINTBEGIN
47 MCNAPI static void** $vftable();
48 // NOLINTEND
49};
Definition InputRenderContext.h:5
static MCAPI void ** $vftable()
Definition RectangleArea.h:5
Definition Color.h:13