WebGL
Khronos
 

WebGL WEBGL_compressed_texture_es3 Extension Proposed Specification

DO NOT IMPLEMENT!!!

Name

WEBGL_compressed_texture_es3

Contact

WebGL working group (public_webgl 'at' khronos.org)

Contributors

Jeff Gilbert, Mozilla

Members of the WebGL working group

Version

Last modified date: July 15, 2014
Revision: 2

Number

WebGL extension #XYZ

Dependencies

Written against the WebGL API 1.0 specification.

Overview

This extension exposes the compressed texture formats defined as core in the OpenGL ES 3.0 spec to WebGL.

When this extension is enabled:

IDL

[NoInterfaceObject]
interface WEBGL_compressed_texture_es3 {
    /* Compressed Texture Format */
    const GLenum COMPRESSED_R11_EAC                        = 0x9270; 
    const GLenum COMPRESSED_SIGNED_R11_EAC                 = 0x9271; 
    const GLenum COMPRESSED_RG11_EAC                       = 0x9272; 
    const GLenum COMPRESSED_SIGNED_RG11_EAC                = 0x9273; 
    const GLenum COMPRESSED_RGB_ETC2                       = 0x9274; 
    const GLenum COMPRESSED_SRGB8_ETC2                     = 0x9275; 
    const GLenum COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2  = 0x9276; 
    const GLenum COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; 
    const GLenum COMPRESSED_RGBA8_ETC2_EAC                 = 0x9278; 
    const GLenum COMPRESSED_SRGB8_ALPHA8_ETC2_EAC          = 0x9279;
};
  

Revision History

Revision 1, 2013/12/9

Revision 2, 2014/07/15