LeviLamina
Loading...
Searching...
No Matches
PersonaTextureComposer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/player/persona/AnimatedTextureType.h"
7
8// auto generated forward declare list
9// clang-format off
11class IImageCache;
14namespace cg { class ImageBuffer; }
15namespace persona { struct TextureTint; }
16namespace persona { struct TextureTintCollection; }
17// clang-format on
18
20public:
21 // static functions
22 // NOLINTBEGIN
23 MCNAPI static ::cg::ImageBuffer const* _loadImage(
24 ::PackAccessStrategy const& strategy,
25 ::std::string const& path,
26 ::std::string const& uniquePath,
27 ::IImageCache& textureGroup
28 );
29
30 MCNAPI static void _readTextureIntoAtlas(
31 ::cg::ImageBuffer& atlasImage,
32 ::persona::TextureTint const& textureTint,
33 ::cg::ImageBuffer const& sourceImage,
34 ::cg::ImageBuffer const* srcTintMapImage,
35 ::cg::ImageBuffer const* srcClothingLayerMapImage,
37 ::glm::ivec2 const* maxDimensionsSlice
38 );
39
40 MCNAPI static bool
41 _validateAnimatedTextureType(::persona::AnimatedTextureType type, uint width, uint height, int frames);
42
43 MCNAPI static ::std::vector<::AnimatedTextureContainer> buildAnimatedTexture(
44 ::std::string const& skinName,
45 ::std::vector<::persona::TextureTintCollection*> const& textureCollections,
46 ::IImageCache& imageCache
47 );
48 // NOLINTEND
49};
Definition AnimatedTextureContainer.h:5
Definition IImageCache.h:5
Definition PackAccessStrategy.h:25
Definition PersonaTextureComposer.h:5
static MCAPI ::std::vector<::AnimatedTextureContainer > buildAnimatedTexture(::std::string const &skinName, ::std::vector<::persona::TextureTintCollection * > const &textureCollections, ::IImageCache &imageCache)
static MCAPI ::cg::ImageBuffer const * _loadImage(::PackAccessStrategy const &strategy, ::std::string const &path, ::std::string const &uniquePath, ::IImageCache &textureGroup)
static MCAPI void _readTextureIntoAtlas(::cg::ImageBuffer &atlasImage, ::persona::TextureTint const &textureTint, ::cg::ImageBuffer const &sourceImage, ::cg::ImageBuffer const *srcTintMapImage, ::cg::ImageBuffer const *srcClothingLayerMapImage, ::TextureUVCoordinateSet &uvs, ::glm::ivec2 const *maxDimensionsSlice)
static MCAPI bool _validateAnimatedTextureType(::persona::AnimatedTextureType type, uint width, uint height, int frames)
Definition ImageBuffer.h:16
Definition TextureUVCoordinateSet.h:5
Definition TextureTintCollection.h:7
Definition TextureTint.h:7