Top Description Fields Constructors Methods
org.lwjgl.opengl

public final Class EXTTextureCompressionRGTC

extends Object
Class Inheritance

Native bindings to the EXT_texture_compression_rgtc extension.

This extension introduces four new block-based texture compression formats suited for unsigned and signed red and red-green textures (hence the name "rgtc" for Red-Green Texture Compression).

These formats are designed to reduce the storage requirements and memory bandwidth required for red and red-green textures by a factor of 2-to-1 over conventional uncompressed luminance and luminance-alpha textures with 8-bit components (LUMINANCE8 and LUMINANCE8_ALPHA8).

The compressed signed red-green format is reasonably suited for storing compressed normal maps.

This extension uses the same compression format as the EXT_texture_compression_latc extension except the color data is stored in the red and green components rather than luminance and alpha. Representing compressed red and green components is consistent with the BC4 and BC5 compressed formats supported by DirectX 10.

Requires OpenGL 1.3 or ARB_texture_compression.

Field Summary

Modifier and TypeField and Description
public static final int
GL_COMPRESSED_RED_GREEN_RGTC2_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

public static final int
GL_COMPRESSED_RED_RGTC1_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

public static final int
GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

public static final int
GL_COMPRESSED_SIGNED_RED_RGTC1_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_COMPRESSED_RED_GREEN_RGTC2_EXTback to summary
public static final int GL_COMPRESSED_RED_GREEN_RGTC2_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

GL_COMPRESSED_RED_RGTC1_EXTback to summary
public static final int GL_COMPRESSED_RED_RGTC1_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXTback to summary
public static final int GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

GL_COMPRESSED_SIGNED_RED_RGTC1_EXTback to summary
public static final int GL_COMPRESSED_SIGNED_RED_RGTC1_EXT

Accepted by the internalformat parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the format parameter of CompressedTexSubImage2D.

Constructor Detail

EXTTextureCompressionRGTCback to summary
private EXTTextureCompressionRGTC()