TextureBuildTarget
- Namespace: Turian.Engine.Core
- Source File: TextureBuildTarget.cs
Keys naming the platforms a texture bakes a separate artifact for. GPU texture compression is not portable — desktop and console sample BC, Android ETC2 or ASTC, iOS ASTC — so one TextureAsset owns a set of artifacts and the running platform picks one.
Remarks
Only Pc has an encoder today; it passes DDS block data through untouched. The other keys are reserved so the cache and catalog already carry the shape a second encoder needs.
Fields
Pc (string) = "pc": Desktop and console: BC1/BC3/BC5/BC7.
Android (string) = "android": Android: ETC2 or ASTC. No encoder yet.
Ios (string) = "ios": iOS: ASTC. No encoder yet.
Properties
Current
(string): The target the running process consumes.
Implemented
(IReadOnlyList[Pc]: The targets an import actually bakes an artifact for.