LeviLamina
Loading...
Searching...
No Matches
BakedMaterialMap.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/TintMethod.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace ClientBlockPipeline { class Material; }
12namespace ClientBlockPipeline { struct BlockSchematic; }
13// clang-format on
14
15namespace ClientBlockPipeline {
16
17struct BakedMaterialMap {
18public:
19 // BakedMaterialMap inner types define
20 using SharedMaterial = ::std::shared_ptr<::ClientBlockPipeline::Material const>;
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ClientBlockPipeline::Material const>>>
26 mResolvedMaterials;
27 ::ll::TypedStorage<1, 1, ::TintMethod> mSingleTintMethod;
28 ::ll::TypedStorage<1, 1, bool> mIsOpaqueForOccluding;
29 ::ll::TypedStorage<1, 1, bool> mHasIsotropicMaterial;
30 ::ll::TypedStorage<1, 1, bool> mHasTextureVariations;
31 ::ll::TypedStorage<1, 1, bool> mHasAlphaMaskedTint;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI ::std::shared_ptr<::ClientBlockPipeline::Material const> _lookupMaterialInfo(
38 ::ClientBlockPipeline::BlockSchematic const& blockSchematic,
39 ::BlockMaterialInstancesComponent const& materialInstance,
40 ::std::string const& materialInstanceName
41 );
42
43 MCAPI void bake(
44 ::ClientBlockPipeline::BlockSchematic const& blockSchematic,
45 ::BlockMaterialInstancesComponent const& materialInstance
46 );
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCAPI static ::std::add_lvalue_reference_t<char const[]> MATERIAL_INSTANCE_FIND_ERROR();
53 // NOLINTEND
54};
55
56} // namespace ClientBlockPipeline
Definition Material.h:7
Definition BlockMaterialInstancesComponent.h:12
Definition BakedMaterialMap.h:7
Definition BlockSchematic.h:7