LeviLamina
Loading...
Searching...
No Matches
TextureAccessor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/AbstractTextureAccessor.h"
7#include "mc/deps/core_graphics/TextureSetLayerType.h"
8
9// auto generated forward declare list
10// clang-format off
13namespace cg { class ImageBuffer; }
14namespace mce { struct TextureDescription; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::UntypedStorage<8, 24> mUnkec26ef;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 TextureAccessor& operator=(TextureAccessor const&);
27 TextureAccessor(TextureAccessor const&);
28 TextureAccessor();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::cg::ImageBuffer*
34 insertImageIntoCache(::ResourceLocation const& resourceLocation, ::cg::ImageBuffer&& imageBuffer) /*override*/;
35
36 virtual ::cg::ImageBuffer*
37 getCachedImageOrLoadSync(::ResourceLocation const& resourceLocation, bool const forceReload) /*override*/;
38
39 virtual ::cg::ImageBuffer* getCachedImage(::ResourceLocation const& resourceLocation) const /*override*/;
40
41 virtual void setTextureMetadata(
42 ::ResourceLocation const& resourceLocation,
43 ::mce::TextureDescription const& textureDescription
44 ) /*override*/;
45
46 virtual ::BedrockTextureData const* getBedrockTextureData(::ResourceLocation const& resourceLocation) const
47 /*override*/;
48
49 virtual bool isLoaded(
50 ::ResourceLocation const& resourceLocation,
51 bool ignoreCreation,
52 ::cg::TextureSetLayerType const textureType
53 ) const /*override*/;
54
55 virtual ::cg::ImageBuffer const& getMissingImageBuffer() const /*override*/;
56
57 virtual ~TextureAccessor() /*override*/;
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCNAPI void $dtor();
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCNAPI ::cg::ImageBuffer*
70 $insertImageIntoCache(::ResourceLocation const& resourceLocation, ::cg::ImageBuffer&& imageBuffer);
71
72 MCNAPI ::cg::ImageBuffer*
73 $getCachedImageOrLoadSync(::ResourceLocation const& resourceLocation, bool const forceReload);
74
75 MCNAPI ::cg::ImageBuffer* $getCachedImage(::ResourceLocation const& resourceLocation) const;
76
78 ::ResourceLocation const& resourceLocation,
79 ::mce::TextureDescription const& textureDescription
80 );
81
82 MCNAPI ::BedrockTextureData const* $getBedrockTextureData(::ResourceLocation const& resourceLocation) const;
83
84 MCNAPI bool $isLoaded(
85 ::ResourceLocation const& resourceLocation,
86 bool ignoreCreation,
87 ::cg::TextureSetLayerType const textureType
88 ) const;
89
90 MCNAPI ::cg::ImageBuffer const& $getMissingImageBuffer() const;
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
Definition AbstractTextureAccessor.h:5
Definition ResourceLocation.h:15
Definition TextureAccessor.h:5
MCAPI::cg::ImageBuffer * $insertImageIntoCache(::ResourceLocation const &resourceLocation, ::cg::ImageBuffer &&imageBuffer)
static MCAPI void ** $vftable()
MCAPI::BedrockTextureData const * $getBedrockTextureData(::ResourceLocation const &resourceLocation) const
MCAPI::cg::ImageBuffer * $getCachedImage(::ResourceLocation const &resourceLocation) const
MCAPI::cg::ImageBuffer const & $getMissingImageBuffer() const
MCAPI bool $isLoaded(::ResourceLocation const &resourceLocation, bool ignoreCreation, ::cg::TextureSetLayerType const textureType) const
MCAPI::cg::ImageBuffer * $getCachedImageOrLoadSync(::ResourceLocation const &resourceLocation, bool const forceReload)
MCAPI void $dtor()
MCAPI void $setTextureMetadata(::ResourceLocation const &resourceLocation, ::mce::TextureDescription const &textureDescription)
Definition ImageBuffer.h:16
Definition BedrockTextureData.h:5
Definition TextureDescription.h:7