EditorUtility.CompressTexture Manual     Reference     Scripting  
Scripting > Editor Classes > EditorUtility

static function CompressTexture (texture : Texture2D, format : TextureFormat) : void


Compress a texture.

Use this function to explicitly compress a texture into specified format.

If you want to do texture compression in-game, use Texture2D.Compress function, which will use faster but lower quality DXT compression.