Package org.lwjgl.opengl
Class EXTTextureCompressionLATC
- java.lang.Object
-
- org.lwjgl.opengl.EXTTextureCompressionLATC
-
public final class EXTTextureCompressionLATC extends java.lang.Object
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
andLUMINANCE8_ALPHA8
).The compressed signed luminance-alpha format is reasonably suited for storing compressed normal maps.
Requires
OpenGL 1.3
orARB_texture_compression
.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT
GL_COMPRESSED_LUMINANCE_LATC1_EXT
GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT
GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXTAccepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.
-
-
-
Field Detail
-
GL_COMPRESSED_LUMINANCE_LATC1_EXT, GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT, GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT, GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT
Accepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.
-
-