Class EXTTextureCompressionBPTC

java.lang.Object
org.lwjgl.opengles.EXTTextureCompressionBPTC

public final class EXTTextureCompressionBPTC extends Object
Native bindings to the EXT_texture_compression_bptc extension.

This extension provides additional texture compression functionality specific to the BPTC and BPTC_FLOAT compressed texture formats (called BC7 and BC6H respectively in Microsoft's DirectX API).

Traditional block compression methods as typified by s3tc and latc compress a block of pixels into indicies along a gradient. This works well for smooth images, but can have quality issues along sharp edges and strong chrominance transitions. To improve quality in these problematic cases, the BPTC formats can divide each block into multiple partitions, each of which are compressed using an independent gradient.

In addition, it is desirable to directly support high dynamic range imagery in compressed formats, which is accomplished by the BPTC_FLOAT formats.

Requirs GLES 3.0.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
    static final int
    Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
    static final int
    Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
    static final int
    Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • GL_COMPRESSED_RGBA_BPTC_UNORM_EXT

      public static final int GL_COMPRESSED_RGBA_BPTC_UNORM_EXT
      Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
      See Also:
    • GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT

      public static final int GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT
      Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
      See Also:
    • GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT

      public static final int GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT
      Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
      See Also:
    • GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT

      public static final int GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT
      Accepted by the internalformat parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
      See Also: