LeviLamina
Loading...
Searching...
No Matches
PersonaTextureComposer Class Reference

Static Public Member Functions

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)
static MCAPI ::std::vector<::AnimatedTextureContainer > buildAnimatedTexture (::std::string const &skinName, ::std::vector<::persona::TextureTintCollection * > const &textureCollections, ::IImageCache &imageCache)

Member Function Documentation

◆ _loadImage()

MCAPI ::cg::ImageBuffer const * PersonaTextureComposer::_loadImage ( ::PackAccessStrategy const & strategy,
::std::string const & path,
::std::string const & uniquePath,
::IImageCache & textureGroup )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _readTextureIntoAtlas()

MCAPI void PersonaTextureComposer::_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
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _validateAnimatedTextureType()

MCAPI bool PersonaTextureComposer::_validateAnimatedTextureType ( ::persona::AnimatedTextureType type,
uint width,
uint height,
int frames )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ buildAnimatedTexture()

MCAPI ::std::vector<::AnimatedTextureContainer > PersonaTextureComposer::buildAnimatedTexture ( ::std::string const & skinName,
::std::vector<::persona::TextureTintCollection * > const & textureCollections,
::IImageCache & imageCache )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: