LeviLamina
Loading...
Searching...
No Matches
AbstractTextureAccessor.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
12namespace cg { class ImageBuffer; }
13namespace mce { struct TextureDescription; }
14// clang-format on
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual ~AbstractTextureAccessor() = default;
21
22 virtual ::cg::ImageBuffer* insertImageIntoCache(::ResourceLocation const&, ::cg::ImageBuffer&&) = 0;
23
24 virtual ::cg::ImageBuffer* getCachedImageOrLoadSync(::ResourceLocation const&, bool const) = 0;
25
26 virtual ::cg::ImageBuffer* getCachedImage(::ResourceLocation const&) const = 0;
27
28 virtual void setTextureMetadata(::ResourceLocation const&, ::mce::TextureDescription const&) = 0;
29
30 virtual ::BedrockTextureData const* getBedrockTextureData(::ResourceLocation const&) const = 0;
31
32 virtual bool isLoaded(::ResourceLocation const&, bool, ::cg::TextureSetLayerType const) const = 0;
33
34 virtual ::cg::ImageBuffer const& getMissingImageBuffer() const = 0;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40
41 // NOLINTEND
42};
Definition AbstractTextureAccessor.h:5
Definition ResourceLocation.h:15
Definition ImageBuffer.h:16
Definition BedrockTextureData.h:5
Definition TextureDescription.h:7