LeviLamina
Loading...
Searching...
No Matches
ScreenRenderBatch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class UIControl;
11struct BatchKey;
12struct BatchVisualState;
15struct TextureState;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::RenderControlMetadata>> mRenderControls;
23 ::ll::TypedStorage<8, 24, ::std::vector<::ComponentRenderBatch>> mRenderBatches;
24 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::TextureState>> mTextureStates;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI bool _addRenderControl(
31 ::UIControl& control,
32 ::BatchClippingState const& batchClippingState,
33 ::BatchVisualState const& batchVisualState,
34 ::ClippedControlMetadata& clippedControlData,
35 bool hasRenderableComponent
36 );
37
38 MCAPI bool _populateRenderControlsCollection(
39 ::UIControl& control,
40 ::BatchClippingState const& batchClippingState,
41 ::BatchClippingState const& unclippedBatchClippingState,
42 ::BatchVisualState const& batchVisualState,
43 ::ClippedControlMetadata& clippedControlData,
44 bool checkIfRendered
45 );
46
47 MCAPI void _storeTextureState(::UIControl& control, bool state);
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::BatchKey createBatchKey(
54 ::UICustomRenderer const& renderer,
55 int pass,
56 float alpha,
57 int depth,
58 ::BatchClippingState const& clip
59 );
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::std::unordered_map<::std::string, ::std::pair<int, int>>& GRID_DIMENSIONS();
66 // NOLINTEND
67};
Definition ComponentRenderBatch.h:5
Definition ScreenRenderBatch.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition BatchClippingState.h:5
Definition BatchKey.h:5
Definition BatchVisualState.h:5
Definition ClippedControlMetadata.h:5
Definition RenderControlMetadata.h:5
Definition TextureState.h:5