W3cubDocs

/Haxe JavaScript

WEBGLCompressedTextureAtc

package js.html.webgl.extension

Available on js

The WEBGL_compressed_texture_atc extension is part of the WebGL API and exposes 3 ATC compressed texture formats. ATC is a proprietary compression algorithm for compressing textures on handheld devices.

Documentation WEBGL_compressed_texture_atc by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

staticinlineread onlyCOMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL:Int = 35987

Compresses RGBA textures using explicit alpha encoding (useful when alpha transitions are sharp).

staticinlineread onlyCOMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL:Int = 34798

Compresses RGBA textures using interpolated alpha encoding (useful when alpha transitions are gradient).

staticinlineread onlyCOMPRESSED_RGB_ATC_WEBGL:Int = 35986

Compresses RGB textures with no alpha channel.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/extension/WEBGLCompressedTextureAtc.html