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

org.lwjgl.opengles.EXTTextureCompressionBPTC Maven / Gradle / Ivy

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengles;

/**
 * Native bindings to the EXT_texture_compression_bptc extension.
 * 
 * 

This extension provides additional texture compression functionality specific to the BPTC and BPTC_FLOAT compressed texture formats (called BC7 and BC6H respectively in Microsoft's DirectX API).

* *

Traditional block compression methods as typified by s3tc and latc compress a block of pixels into indicies along a gradient. This works well for * smooth images, but can have quality issues along sharp edges and strong chrominance transitions. To improve quality in these problematic cases, the * BPTC formats can divide each block into multiple partitions, each of which are compressed using an independent gradient.

* *

In addition, it is desirable to directly support high dynamic range imagery in compressed formats, which is accomplished by the BPTC_FLOAT formats.

* *

Requirs {@link GLES30 GLES 3.0}.

*/ public final class EXTTextureCompressionBPTC { /** * Accepted by the {@code internalformat} parameter of TexImage2D, TexImage3D, TexStorage2D, TexStorage3D, CompressedTexImage2D, and CompressedTexImage3D * and the {@code format} parameter of CompressedTexSubImage2D and CompressedTexSubImage3D. */ public static final int GL_COMPRESSED_RGBA_BPTC_UNORM_EXT = 0x8E8C, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT = 0x8E8D, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT = 0x8E8E, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT = 0x8E8F; private EXTTextureCompressionBPTC() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy