Package org.lwjgl.opengl
Class EXTTextureCompressionLATC
java.lang.Object
org.lwjgl.opengl.EXTTextureCompressionLATC
Native bindings to the EXT_texture_compression_latc extension.
This extension introduces four new block-based texture compression formats suited for unsigned and signed luminance and luminance-alpha textures (hence the name "latc" for Luminance-Alpha Texture Compression).
These formats are designed to reduce the storage requirements and memory bandwidth required for luminance and luminance-alpha 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 luminance-alpha format is reasonably suited for storing compressed normal maps.
Requires OpenGL 1.3
or ARB_texture_compression
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.static final int
Accepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.static final int
Accepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.static final int
Accepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D. -
Method Summary
-
Field Details
-
GL_COMPRESSED_LUMINANCE_LATC1_EXT
public static final int GL_COMPRESSED_LUMINANCE_LATC1_EXTAccepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.- See Also:
-
GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT
public static final int GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXTAccepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.- See Also:
-
GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT
public static final int GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXTAccepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.- See Also:
-
GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT
public static final int GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXTAccepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.- See Also:
-