Skip to content
LeviMC
English
AutoLightDark
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<
25 8,
26 8,
27 ::std::reverse_iterator<
28 ::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::ComponentRenderBatch>>>>>
29 mEndValidRenderBatches;
30 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::TextureState>> mTextureStates;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI bool _addRenderControl(
37 ::UIControl& control,
38 ::BatchClippingState const& batchClippingState,
39 ::BatchVisualState const& batchVisualState,
40 ::ClippedControlMetadata& clippedControlData,
41 bool hasRenderableComponent
42 );
43
44 MCNAPI ::ComponentRenderBatch& _findOrAddRenderBatch(::BatchKey&& batchKey);
45
47 ::UIControl& control,
48 ::BatchClippingState const& batchClippingState,
49 ::BatchClippingState const& unclippedBatchClippingState,
50 ::BatchVisualState const& batchVisualState,
51 ::ClippedControlMetadata& clippedControlData,
52 bool checkIfRendered
53 );
54
55 MCNAPI void _storeTextureState(::UIControl& control, bool state);
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCNAPI static ::BatchKey createBatchKey(
62 ::UICustomRenderer const& renderer,
63 int pass,
64 float alpha,
65 int depth,
66 ::BatchClippingState const& clip
67 );
68 // NOLINTEND
69
70public:
71 // static variables
72 // NOLINTBEGIN
73 MCNAPI static ::std::unordered_map<::std::string, ::std::pair<int, int>>& GRID_DIMENSIONS();
74 // NOLINTEND
75};
Definition ComponentRenderBatch.h:5
Definition ScreenRenderBatch.h:5
MCAPI bool _populateRenderControlsCollection(::UIControl &control, ::BatchClippingState const &batchClippingState, ::BatchClippingState const &unclippedBatchClippingState, ::BatchVisualState const &batchVisualState, ::ClippedControlMetadata &clippedControlData, bool checkIfRendered)
MCAPI::ComponentRenderBatch & _findOrAddRenderBatch(::BatchKey &&batchKey)
static MCAPI ::std::unordered_map<::std::string, ::std::pair< int, int > > & GRID_DIMENSIONS()
MCAPI bool _addRenderControl(::UIControl &control, ::BatchClippingState const &batchClippingState, ::BatchVisualState const &batchVisualState, ::ClippedControlMetadata &clippedControlData, bool hasRenderableComponent)
MCAPI void _storeTextureState(::UIControl &control, bool state)
static MCAPI ::BatchKey createBatchKey(::UICustomRenderer const &renderer, int pass, float alpha, int depth, ::BatchClippingState const &clip)
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