LeviLamina
Loading...
Searching...
No Matches
Material.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/world/level/block/BlockRenderLayer.h"
8#include "mc/world/level/block/TintMethod.h"
9
10// auto generated forward declare list
11// clang-format off
13namespace ClientBlockPipeline { struct TextureUVs; }
14// clang-format on
15
16namespace ClientBlockPipeline {
17
18class Material : public ::Bedrock::EnableNonOwnerReferences {
19public:
20 // Material inner types declare
21 // clang-format off
22 struct PackedBools;
23 // clang-format on
24
25 // Material inner types define
26 struct PackedBools {
27 public:
28 // member variables
29 // NOLINTBEGIN
30 bool mFaceDimming : 1;
31 bool mRandomizeUVRotation : 1;
32 bool mHasTextureVariations : 1;
33 bool mAlphaMaskedTint : 1;
34 bool mDithering : 1;
35 // NOLINTEND
36 };
37
38public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<8, 24, ::std::vector<::ClientBlockPipeline::TextureUVs>> mUvSets;
42 ::ll::TypedStorage<4, 4, float> mAmbientOcclusion;
43 ::ll::TypedStorage<1, 1, ::BlockRenderLayer> mBlockRenderLayer;
44 ::ll::TypedStorage<1, 1, ::TintMethod> mTintMethod;
45 ::ll::TypedStorage<1, 1, ::ClientBlockPipeline::Material::PackedBools> mPackedBools;
46 ::ll::TypedStorage<8, 16, ::std::optional<uint64>> mTextureShiftBufferIndex;
47 // NOLINTEND
48
49public:
50 // prevent constructor by default
51 Material();
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI Material(::std::vector<::TextureUVCoordinateSet> const& uvSets, ::BlockRenderLayer terrainLayer);
57 // NOLINTEND
58
59public:
60 // static variables
61 // NOLINTBEGIN
62 MCAPI static ::std::vector<::TextureUVCoordinateSet> const& EMPTY_TEXTURES();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(::std::vector<::TextureUVCoordinateSet> const& uvSets, ::BlockRenderLayer terrainLayer);
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
77
78} // namespace ClientBlockPipeline
Definition Material.h:7
static MCAPI void ** $vftable()
Definition TextureUVs.h:7
Definition TextureUVCoordinateSet.h:5