Skip to content
LeviMC
English
AutoLightDark
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 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCNAPI ::cg::ImageBuffer*
62 $insertImageIntoCache(::ResourceLocation const& resourceLocation, ::cg::ImageBuffer&& imageBuffer);
63
64 MCNAPI ::cg::ImageBuffer*
65 $getCachedImageOrLoadSync(::ResourceLocation const& resourceLocation, bool const forceReload);
66
67 MCNAPI ::cg::ImageBuffer* $getCachedImage(::ResourceLocation const& resourceLocation) const;
68
70 ::ResourceLocation const& resourceLocation,
71 ::mce::TextureDescription const& textureDescription
72 );
73
74 MCNAPI ::BedrockTextureData const* $getBedrockTextureData(::ResourceLocation const& resourceLocation) const;
75
76 MCNAPI bool $isLoaded(
77 ::ResourceLocation const& resourceLocation,
78 bool ignoreCreation,
79 ::cg::TextureSetLayerType const textureType
80 ) const;
81
82 MCNAPI ::cg::ImageBuffer const& $getMissingImageBuffer() const;
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
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 $setTextureMetadata(::ResourceLocation const &resourceLocation, ::mce::TextureDescription const &textureDescription)
Definition ImageBuffer.h:16
Definition BedrockTextureData.h:5
Definition TextureDescription.h:7