All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.ARBTextureCompressionRGTC Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
/*
 * 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 ARB_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 ({@link GL11#GL_LUMINANCE8 LUMINANCE8} and {@link GL11#GL_LUMINANCE8_ALPHA8 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 {@link GL13 OpenGL 1.3} or {@link ARBTextureCompression ARB_texture_compression}. Promoted to core in {@link GL30 OpenGL 3.0}.

*/ public final class ARBTextureCompressionRGTC { /** * Accepted by the {@code internalformat} parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and the {@code format} parameter of * CompressedTexSubImage2D. */ public static final int GL_COMPRESSED_RED_RGTC1 = 0x8DBB, GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC, GL_COMPRESSED_RG_RGTC2 = 0x8DBD, GL_COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE; private ARBTextureCompressionRGTC() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy