mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-01 20:33:38 +02:00
1.1 KiB
1.1 KiB
TextureHandler
Namespace: TinyLife > Utilities
Assembly: Tiny Life.dll
Summary
The texture handler stores data for the game's textures, including all of the game's internal textures and various utility methods. It also stores the game's MLEM.Data.RuntimeTexturePacker
which is used to pack all textures into a big texture for performance.
Static Methods
Return | Name | Summary |
---|---|---|
void | ApplyWallpaperMasks ( Texture2D , Int32 , Int32 , Action <UniformTextureAtlas > ) |
Applies the game's predefined wallpaper maskings (based on TinyLife.World.WallMode ) to the given wallpaper texture. When adding custom TinyLife.World.Wallpaper types, this method should be used. Note that, as part of this method, the resulting texture is implicitly added onto the game's MLEM.Data.RuntimeTexturePacker . |