org.lwjgl.opengl.EXTTextureCompressionLATC Maven / Gradle / Ivy
Show all versions of lwjgl-opengl Show documentation
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
/**
* 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 ({@link GL11#GL_LUMINANCE8 LUMINANCE8} and {@link GL11#GL_LUMINANCE8_ALPHA8 LUMINANCE8_ALPHA8}).
*
* The compressed signed luminance-alpha format is reasonably suited for storing compressed normal maps.
*
* Requires {@link GL13 OpenGL 1.3} or {@link ARBTextureCompression ARB_texture_compression}.
*/
public final class EXTTextureCompressionLATC {
/**
* Accepted by the {@code internalformat} parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the {@code format} parameter of
* CompressedTexSubImage2D.
*/
public static final int
GL_COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70,
GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = 0x8C71,
GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72,
GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C73;
private EXTTextureCompressionLATC() {}
}