18class ImageResourceLoader {
21 enum class LoadError :
int {
22 TextureConversionError = 0,
34 ImageResourceLoader& operator=(ImageResourceLoader
const&);
35 ImageResourceLoader(ImageResourceLoader
const&);
36 ImageResourceLoader();
41 MCNAPI_C ::nonstd::expected<::std::shared_ptr<::cg::ImageResource>, ::std::error_condition>
42 loadImageResourceFromMemory(::std::string
const& fileContents,
bool tryStreamed);
44 MCNAPI_C ::nonstd::expected<::std::shared_ptr<::cg::ImageResource>, ::std::error_condition>
45 loadImageWithoutExtension(
48 ::std::optional<::mce::ImageFormat> desiredImageFormat,
52 MCNAPI_C
void setTextureCache(
Definition TextureCache.h:8
Definition DragonTextureCacheContext.h:7