Class ARBTextureCompressionBPTC
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), subject to all the requirements and limitations described by the extension ARB_texture_compression.
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.
Requires OpenGL 3.1 and ARB_texture_compression.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB.static final intAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB.static final intAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB.static final intAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB. -
Method Summary
-
Field Details
-
GL_COMPRESSED_RGBA_BPTC_UNORM_ARB
public static final int GL_COMPRESSED_RGBA_BPTC_UNORM_ARBAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB.- See Also:
-
GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB
public static final int GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARBAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB.- See Also:
-
GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB
public static final int GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARBAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB.- See Also:
-
GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB
public static final int GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARBAccepted by theinternalformatparameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2DARB, and CompressedTexImage3DARB and theformatparameter of CompressedTexSubImage2DARB and CompressedTexSubImage3DARB.- See Also:
-