Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


textureFormat

Format of imported texture.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. textureFormat is no longer accessible at the TextureImporter level. For old 'simple' formats use the textureCompression property for the equivalent automatic choice (Uncompressed for TrueColor, Compressed and HQCommpressed for 16 bits). For platform specific formats use the PlatformTextureSettings API. Using this setter will setup various parameters to match the new automatic system as well as possible. Getter will return the last value set.
public TextureImporterFormat textureFormat { get; set; }

Remarks

Additional Resources: TextureImporterFormat.