LeviLamina
Loading...
Searching...
No Matches
MeshContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/checked_resource_service/ServerResourcePointer.h"
7
8// auto generated forward declare list
9// clang-format off
10class ShaderColor;
11namespace mce { class Camera; }
12namespace mce { class RenderContext; }
13namespace mce { struct BufferResourceService; }
14namespace mce { struct GlobalConstantBufferManager; }
15namespace mce { struct GlobalConstantBuffers; }
16namespace mce { struct ImmediateBuffer; }
17namespace mce { struct QuadIndexBuffer; }
18// clang-format on
19
20namespace mce {
21
22class MeshContext {
23public:
24 // MeshContext inner types define
25 using SubClientId = uchar;
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 8, ::mce::RenderContext&> renderContext;
31 ::ll::TypedStorage<8, 8, ::mce::Camera&> camera;
32 ::ll::TypedStorage<8, 8, ::mce::GlobalConstantBuffers&> constantBuffers;
33 ::ll::TypedStorage<8, 8, ::mce::GlobalConstantBufferManager&> constantBufferManager;
34 ::ll::TypedStorage<8, 8, ::ShaderColor&> currentShaderColor;
35 ::ll::TypedStorage<8, 8, ::ShaderColor&> currentShaderDarkColor;
36 ::ll::TypedStorage<8, 8, ::mce::BufferResourceService&> bufferResourceService;
37 ::ll::TypedStorage<8, 8, ::mce::QuadIndexBuffer&> currentQuadIndexBuffer;
38 ::ll::TypedStorage<8, 24, ::mce::ServerResourcePointer<::mce::ImmediateBuffer>> immediateBuffer;
39 ::ll::TypedStorage<4, 20, ::std::optional<::glm::vec4>> normalizedClipRegion;
40 ::ll::TypedStorage<1, 1, uchar> subClientId;
41 ::ll::TypedStorage<1, 1, bool> isDrawingUI;
42 ::ll::TypedStorage<1, 1, bool> isDrawingFirstPersonObjects;
43 ::ll::TypedStorage<1, 1, bool> isDrawingEnvironmentalText;
44 ::ll::TypedStorage<1, 1, bool> isDrawingPersistentUIElement;
45 ::ll::TypedStorage<1, 1, bool> isDoingFrameCapture;
46 ::ll::TypedStorage<1, 1, bool> isDrawingEditorSelectionHighlight;
47 ::ll::TypedStorage<1, 1, bool> isDrawingMovingBlock;
48 ::ll::TypedStorage<1, 1, bool> isDitheringEnabled;
49 ::ll::TypedStorage<1, 1, bool> isAlphaMaskedTintEnabled;
50 // NOLINTEND
51
52public:
53 // prevent constructor by default
54 MeshContext& operator=(MeshContext const&);
55 MeshContext(MeshContext const&);
56 MeshContext();
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI ~MeshContext();
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCFOLD void $dtor();
68 // NOLINTEND
69};
70
71} // namespace mce
Definition ShaderColor.h:5
Definition Camera.h:7
Definition MeshContext.h:7
Definition RenderContext.h:7
Definition BufferResourceService.h:7
Definition GlobalConstantBufferManager.h:7
Definition GlobalConstantBuffers.h:7
Definition ImmediateBuffer.h:7
Definition QuadIndexBuffer.h:7