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#include "mc/deps/minecraft_renderer/renderer/IsMissingTexture.h"
8#include "mc/deps/minecraft_renderer/renderer/TextureLoadState.h"
9
10// auto generated forward declare list
11// clang-format off
12class BedrockTexture;
15namespace cg { struct ImageDescription; }
16namespace mce { class TextureGroupBase; }
17namespace mce { struct ClientTexture; }
18namespace mce { struct TextureDescription; }
19// clang-format on
20
21namespace mce {
22
23class TexturePtr {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::BedrockTextureData const>> mClientTexture;
28 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ResourceLocation>> mResourceLocationPtr;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI TexturePtr();
35
36 MCAPI TexturePtr(::mce::TexturePtr&& rhs);
37
38 MCAPI TexturePtr(::mce::TexturePtr const& rhs);
39
40 MCAPI TexturePtr(::std::shared_ptr<::mce::TextureGroupBase> group, ::ResourceLocation const& resourceLocation);
41
42 MCAPI TexturePtr(
43 ::BedrockTexture const& bedrockTexture,
44 ::ResourceLocation const& resourceLocation,
45 ::cg::TextureSetLayerType textureType
46 );
47
48 MCFOLD ::mce::ClientTexture const& getClientTexture() const;
49
50 MCFOLD ::cg::ImageDescription const& getImageDescription() const;
51
52 MCFOLD ::ResourceLocation const& getResourceLocation() const;
53
54 MCFOLD ::mce::TextureDescription const& getTextureDescription() const;
55
56 MCAPI ::TextureLoadState getTextureLoadState() const;
57
58 MCAPI uint64 hashCode() const;
59
60 MCAPI ::IsMissingTexture isMissingTexture() const;
61
62 MCFOLD explicit operator bool() const;
63
64 MCFOLD ::mce::ClientTexture const& operator*() const;
65
66 MCAPI ::mce::TexturePtr& operator=(::mce::TexturePtr&& rhs);
67
68 MCAPI ::mce::TexturePtr& operator=(::mce::TexturePtr const& rhs);
69
70 MCAPI ~TexturePtr();
71 // NOLINTEND
72
73public:
74 // static variables
75 // NOLINTBEGIN
76 MCAPI static ::mce::TexturePtr const& NONE();
77
78 MCAPI static ::BedrockTextureData const& mDefaultTextureData();
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCAPI void* $ctor();
85
86 MCAPI void* $ctor(::mce::TexturePtr&& rhs);
87
88 MCAPI void* $ctor(::mce::TexturePtr const& rhs);
89
90 MCAPI void* $ctor(::std::shared_ptr<::mce::TextureGroupBase> group, ::ResourceLocation const& resourceLocation);
91
92 MCAPI void* $ctor(
93 ::BedrockTexture const& bedrockTexture,
94 ::ResourceLocation const& resourceLocation,
95 ::cg::TextureSetLayerType textureType
96 );
97 // NOLINTEND
98
99public:
100 // destructor thunk
101 // NOLINTBEGIN
102 MCFOLD void $dtor();
103 // NOLINTEND
104};
105
106} // namespace mce
Definition BedrockTexture.h:5
Definition ResourceLocation.h:15
Definition TextureGroupBase.h:7
Definition TexturePtr.h:7
Definition BedrockTextureData.h:5
Definition ImageDescription.h:20
Definition ClientTexture.h:7
Definition TextureDescription.h:7