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.
- Listed in Global namespace: A to B
- Inherits or implements
ScriptableObject - Nested types
PlatformTextures,TextureData - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
BakeableTextureDecimator() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private List<BakeableTextureDecimator.TextureData> activeData | Hidden record of each touched texture's override, max size and format, probably so it can be restored. |
private BakeableTextureDecimator.PlatformTextures[] textures | Per platform flag, the textures to decimate. |