LeviLamina
Loading...
Searching...
No Matches
ResourceLoaders.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/image/ImageFormat.h"
7
#include "mc/deps/core/resource/ResourceFileSystem.h"
8
#include "mc/deps/core/resource/ResourceFileType.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
BackwardsCompatTextureGroup
;
13
class
ResourceLoader
;
14
class
ResourceLocation
;
15
namespace
mce {
struct
Image
; }
16
// clang-format on
17
18
namespace
ResourceLoaders {
19
// functions
20
// NOLINTBEGIN
21
#ifdef LL_PLAT_C
22
MCNAPI ::gsl::span<::std::string const> getFileTypeExtensions(::ResourceLoaders::ResourceFileType fileType);
23
24
MCNAPI ::ResourceLocation getRawResourceLocation(::ResourceLocation
const
& resourceLocation);
25
26
MCNAPI ::nonstd::expected<::mce::Image, ::std::error_condition> loadImageWithoutExtension(
27
::ResourceLocation
const
& imageResourceLocation,
28
::std::optional<::mce::ImageFormat> desiredImageFormat,
29
bool
splitAsArray
30
);
31
#endif
32
// NOLINTEND
33
34
// static variables
35
// NOLINTBEGIN
36
#ifdef LL_PLAT_C
37
MCNAPI ::std::string
const
& IMGEXT_PNG();
38
#endif
39
40
MCNAPI ::BackwardsCompatTextureGroup& backCompatGroup();
41
42
#ifdef LL_PLAT_C
43
MCNAPI ::std::map<::ResourceFileSystem, ::std::unique_ptr<::ResourceLoader>>& loaders();
44
#endif
45
// NOLINTEND
46
47
}
// namespace ResourceLoaders
BackwardsCompatTextureGroup
Definition
BackwardsCompatTextureGroup.h:11
ResourceLoader
Definition
ResourceLoader.h:17
ResourceLocation
Definition
ResourceLocation.h:15
mce::Image
Definition
Image.h:13
src
mc
deps
core
resource
ResourceLoaders.h
Generated on
for LeviLamina by
1.16.1