LeviLamina
Loading...
Searching...
No Matches
TextureJSONParser.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
11struct ActorTextureInfo;
12struct ParsedTextureSet;
14namespace Json { class Value; }
15namespace mce { class Color; }
16namespace mce { class TextureGroup; }
17// clang-format on
18
20public:
21 // static functions
22 // NOLINTBEGIN
23 MCNAPI static ::ActorTextureInfo
24 getTextureInfoFromTextureSet(::std::shared_ptr<::mce::TextureGroup> textureGroup, ::Json::Value const& texture);
25
26 MCNAPI static ::ActorTextureInfo getTextureInfoFromTextureSet(
27 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
28 ::ParsedTextureSet const& textureSet
29 );
30
31 MCNAPI static void loadTextureSetLayer(
33 ::Json::Value const& layerJsonData,
34 float mipFadeAmount,
35 ::mce::Color const& mipFadeColor,
36 bool isAdditive,
37 ::std::optional<::cg::TextureSetLayerType> textureSetLayerType
38 );
39
40 MCNAPI static void parseTextureSet(
41 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
42 ::Json::Value const& texture,
43 ::ParsedTextureSet& outTextureSet,
44 float mipFadeAmount,
45 ::mce::Color const& mipFadeColor,
46 bool isAdditive
47 );
48
49 MCNAPI static void parseTextureSetLayers(
50 ::std::shared_ptr<::mce::TextureGroup> textureGroup,
51 ::ResourceLocation const& textureSetLocation,
52 ::ParsedTextureSet& textureSet
53 );
54 // NOLINTEND
55};
Definition Value.h:16
Definition ResourceLocation.h:14
Definition TextureJSONParser.h:19
static MCAPI void loadTextureSetLayer(::ParsedTextureSetLayer &layer, ::Json::Value const &layerJsonData, float mipFadeAmount, ::mce::Color const &mipFadeColor, bool isAdditive, ::std::optional<::cg::TextureSetLayerType > textureSetLayerType)
static MCAPI ::ActorTextureInfo getTextureInfoFromTextureSet(::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Json::Value const &texture)
static MCAPI void parseTextureSetLayers(::std::shared_ptr<::mce::TextureGroup > textureGroup, ::ResourceLocation const &textureSetLocation, ::ParsedTextureSet &textureSet)
static MCAPI void parseTextureSet(::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Json::Value const &texture, ::ParsedTextureSet &outTextureSet, float mipFadeAmount, ::mce::Color const &mipFadeColor, bool isAdditive)
static MCAPI ::ActorTextureInfo getTextureInfoFromTextureSet(::std::shared_ptr<::mce::TextureGroup > textureGroup, ::ParsedTextureSet const &textureSet)
Definition Color.h:7
Definition ActorTextureInfo.h:5
Definition ParsedTextureSetLayer.h:5
Definition ParsedTextureSet.h:5