LeviLamina
Loading...
Searching...
No Matches
RenderContextBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace mce { class Color; }
8namespace mce { class RenderDevice; }
9namespace mce { struct ViewportInfo; }
10// clang-format on
11
12namespace mce {
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::UntypedStorage<8, 272> mUnkacad00;
19 ::ll::UntypedStorage<4, 40> mUnk80a540;
20 ::ll::UntypedStorage<8, 24> mUnkd1eb37;
21 ::ll::UntypedStorage<8, 8> mUnkb88807;
22 ::ll::UntypedStorage<8, 8> mUnk5dd278;
23 ::ll::UntypedStorage<8, 8> mUnkfaff0e;
24 ::ll::UntypedStorage<4, 52> mUnka47a14;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 RenderContextBase& operator=(RenderContextBase const&);
30 RenderContextBase(RenderContextBase const&);
31
32public:
33 // member functions
34 // NOLINTBEGIN
36
37 MCNAPI void beginFrame();
38
39 MCNAPI bool captureScreenAsRGB(::std::vector<uchar>& outBytes, int& outWidth, int& outHeight);
40
41 MCNAPI void clearColorBuffer(::mce::Color const& clearColor, ::mce::ViewportInfo const* vpInfo) const;
42
43 MCNAPI void clearContextState();
44
45 MCNAPI void clearDepthStencilBuffer(float depth, uchar stencil, ::mce::ViewportInfo const* vpInfo) const;
46
47 MCNAPI void endFrame();
48
49 MCNAPI void flush();
50
51 MCNAPI ::mce::RenderDevice* getDevice() const;
52
53 MCNAPI void setRenderTarget();
54
55 MCNAPI void setScissorRect(int x, int y, uint w, uint h);
56
57 MCNAPI void setViewport(::mce::ViewportInfo const& viewportInfo);
58
60
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCNAPI void* $ctor();
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCNAPI void $dtor();
74 // NOLINTEND
75};
76
77} // namespace mce
Definition Color.h:13
Definition RenderContextBase.h:7
MCAPI void clearContextState()
MCAPI void clearDepthStencilBuffer(float depth, uchar stencil, ::mce::ViewportInfo const *vpInfo) const
MCAPI void * $ctor()
MCAPI void clearColorBuffer(::mce::Color const &clearColor, ::mce::ViewportInfo const *vpInfo) const
MCAPI bool captureScreenAsRGB(::std::vector< uchar > &outBytes, int &outWidth, int &outHeight)
MCAPI::mce::RenderDevice * getDevice() const
MCAPI void setScissorRect(int x, int y, uint w, uint h)
MCAPI void unbindAllTexturesAndShaders()
MCAPI void beginFrame()
MCAPI void setViewport(::mce::ViewportInfo const &viewportInfo)
MCAPI void setRenderTarget()
Definition RenderDevice.h:7
Definition ViewportInfo.h:7