Class EXTTextureCompressionS3TC



  • public final class EXTTextureCompressionS3TC
    extends java.lang.Object
    Native bindings to the EXT_texture_compression_s3tc extension.

    This extension provides additional texture compression functionality specific to S3's S3TC format (called DXTC in Microsoft's DirectX API), subject to all the requirements and limitations described by the extension GL_ARB_texture_compression.

    This extension supports DXT1, DXT3, and DXT5 texture compression formats. For the DXT1 image format, this specification supports an RGB-only mode and a special RGBA mode with single-bit "transparent" alpha.

    • Field Detail

      • GL_COMPRESSED_RGB_S3TC_DXT1_EXT

        public static final int GL_COMPRESSED_RGB_S3TC_DXT1_EXT
        In extended OpenGL ES 2.0.25 these new tokens are accepted by the internalformat parameter of TexImage2D, CompressedTexImage2D and the format parameter of CompressedTexSubImage2D. In extended OpenGL ES 3.0.2 these new tokens are also accepted by the internalformat parameter of TexImage3D, CompressedTexImage3D, TexStorage2D, TexStorage3D and the format parameter of CompressedTexSubImage3D.
        See Also:
        Constant Field Values
      • GL_COMPRESSED_RGBA_S3TC_DXT1_EXT

        public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
        In extended OpenGL ES 2.0.25 these new tokens are accepted by the internalformat parameter of TexImage2D, CompressedTexImage2D and the format parameter of CompressedTexSubImage2D. In extended OpenGL ES 3.0.2 these new tokens are also accepted by the internalformat parameter of TexImage3D, CompressedTexImage3D, TexStorage2D, TexStorage3D and the format parameter of CompressedTexSubImage3D.
        See Also:
        Constant Field Values
      • GL_COMPRESSED_RGBA_S3TC_DXT3_EXT

        public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
        In extended OpenGL ES 2.0.25 these new tokens are accepted by the internalformat parameter of TexImage2D, CompressedTexImage2D and the format parameter of CompressedTexSubImage2D. In extended OpenGL ES 3.0.2 these new tokens are also accepted by the internalformat parameter of TexImage3D, CompressedTexImage3D, TexStorage2D, TexStorage3D and the format parameter of CompressedTexSubImage3D.
        See Also:
        Constant Field Values
      • GL_COMPRESSED_RGBA_S3TC_DXT5_EXT

        public static final int GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
        In extended OpenGL ES 2.0.25 these new tokens are accepted by the internalformat parameter of TexImage2D, CompressedTexImage2D and the format parameter of CompressedTexSubImage2D. In extended OpenGL ES 3.0.2 these new tokens are also accepted by the internalformat parameter of TexImage3D, CompressedTexImage3D, TexStorage2D, TexStorage3D and the format parameter of CompressedTexSubImage3D.
        See Also:
        Constant Field Values