Skip to main content

BakeableTextureDecimator

A class in Root.Township, the global namespace.

Asset listing textures to shrink per platform, probably applied by an editor build step. Holds data only at runtime.

Constructors​

MemberWhat it is
BakeableTextureDecimator()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private List<BakeableTextureDecimator.TextureData> activeDataHidden record of each touched texture's override, max size and format, probably so it can be restored.
private BakeableTextureDecimator.PlatformTextures[] texturesPer platform flag, the textures to decimate.