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 { struct ImageBuffer; }
14namespace mce { struct TextureDescription; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 TextureAccessor& operator=(TextureAccessor const&);
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 1
34 virtual ::cg::ImageBuffer*
35 insertImageIntoCache(::ResourceLocation const& resourceLocation, ::cg::ImageBuffer&& imageBuffer) /*override*/;
36
37 // vIndex: 2
38 virtual ::cg::ImageBuffer*
39 getCachedImageOrLoadSync(::ResourceLocation const& resourceLocation, bool const forceReload) /*override*/;
40
41 // vIndex: 3
42 virtual ::cg::ImageBuffer* getCachedImage(::ResourceLocation const& resourceLocation) const /*override*/;
43
44 // vIndex: 4
45 virtual void setTextureMetadata(
46 ::ResourceLocation const& resourceLocation,
47 ::mce::TextureDescription const& textureDescription
48 ) /*override*/;
49
50 // vIndex: 5
51 virtual ::BedrockTextureData const* getBedrockTextureData(::ResourceLocation const& resourceLocation) const
52 /*override*/;
53
54 // vIndex: 6
55 virtual bool isLoaded(
56 ::ResourceLocation const& resourceLocation,
57 bool ignoreCreation,
58 ::cg::TextureSetLayerType const textureType
59 ) const /*override*/;
60
61 // vIndex: 7
62 virtual ::cg::ImageBuffer const& getMissingImageBuffer() const /*override*/;
63
64 // vIndex: 0
65 virtual ~TextureAccessor() /*override*/;
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCNAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCNAPI ::cg::ImageBuffer*
78 $insertImageIntoCache(::ResourceLocation const& resourceLocation, ::cg::ImageBuffer&& imageBuffer);
79
80 MCNAPI ::cg::ImageBuffer*
81 $getCachedImageOrLoadSync(::ResourceLocation const& resourceLocation, bool const forceReload);
82
83 MCNAPI ::cg::ImageBuffer* $getCachedImage(::ResourceLocation const& resourceLocation) const;
84
86 ::ResourceLocation const& resourceLocation,
87 ::mce::TextureDescription const& textureDescription
88 );
89
90 MCNAPI ::BedrockTextureData const* $getBedrockTextureData(::ResourceLocation const& resourceLocation) const;
91
92 MCNAPI bool $isLoaded(
93 ::ResourceLocation const& resourceLocation,
94 bool ignoreCreation,
95 ::cg::TextureSetLayerType const textureType
96 ) const;
97
98 MCNAPI ::cg::ImageBuffer const& $getMissingImageBuffer() const;
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
Definition AbstractTextureAccessor.h:16
Definition ResourceLocation.h:14
Definition TextureAccessor.h:17
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 BedrockTextureData.h:5
Definition ImageBuffer.h:7
Definition _HeaderOutputPredefine.h:273
Definition TextureDescription.h:10