Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TexturePtr.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core_graphics/TextureSetLayerType.h"
7
8// auto generated forward declare list
9// clang-format off
10class BedrockTexture;
13namespace mce { class TextureGroupBase; }
14// clang-format on
15
16namespace mce {
17
18class TexturePtr {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::BedrockTextureData const>> mClientTexture;
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ResourceLocation>> mResourceLocationPtr;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 TexturePtr();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI TexturePtr(::std::shared_ptr<::mce::TextureGroupBase> group, ::ResourceLocation const& resourceLocation);
34
35 MCAPI TexturePtr(
36 ::BedrockTexture const& bedrockTexture,
37 ::ResourceLocation const& resourceLocation,
38 ::cg::TextureSetLayerType textureType
39 );
40
41 MCAPI ~TexturePtr();
42 // NOLINTEND
43
44public:
45 // static variables
46 // NOLINTBEGIN
47 MCNAPI static ::mce::TexturePtr const& NONE();
48
49 MCAPI static ::BedrockTextureData const& mDefaultTextureData();
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::std::shared_ptr<::mce::TextureGroupBase> group, ::ResourceLocation const& resourceLocation);
56
57 MCAPI void* $ctor(
58 ::BedrockTexture const& bedrockTexture,
59 ::ResourceLocation const& resourceLocation,
60 ::cg::TextureSetLayerType textureType
61 );
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCFOLD void $dtor();
68 // NOLINTEND
69};
70
71} // namespace mce
Definition BedrockTexture.h:5
Definition ResourceLocation.h:15
Definition TextureGroupBase.h:7
Definition TexturePtr.h:7
static MCAPI ::mce::TexturePtr const & NONE()
Definition BedrockTextureData.h:5