Top Description Fields Constructors Methods
org.lwjgl.opengles

public final Class NVSRGBFormats

extends Object
Class Inheritance

Native bindings to the NV_sRGB_formats extension.

This extension adds new uncompressed and compressed color texture formats with nonlinear sRGB color components.

Luminance and luminance alpha provide support for textures containing sRGB values with identical red, green, and blue components.

Compressed texture formats using S3TC and ETC1 compression algorithms are also added to provide compressed sRGB texture options.

Finally, sized variant of sRGB, sLuminace, and sLuminance_alpha are provided for immutable textures defined using the EXT_texture_storage extension.

Requires GLES 2.0 and EXT_sRGB.

Field Summary

Modifier and TypeField and Description
public static final int
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

public static final int
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

public static final int
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

public static final int
GL_COMPRESSED_SRGB_S3TC_DXT1_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

public static final int
GL_SLUMINANCE8_ALPHA8_NV

Accepted by the internalformat parameter of TexStorage2DEXT and TexStorage3DEXT.

public static final int
GL_SLUMINANCE8_NV

Accepted by the internalformat parameter of TexStorage2DEXT and TexStorage3DEXT.

public static final int
GL_SLUMINANCE_ALPHA_NV

Accepted by the format and internalformat parameter of TexImage2D, and TexImage3DNV.

public static final int
GL_SLUMINANCE_NV

Accepted by the format and internalformat parameter of TexImage2D, and TexImage3DNV.

public static final int
GL_SRGB8_NV

Accepted by the internalformat parameter of RenderbufferStorage, TexStorage2DEXT, and TexStorage3DEXT.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NVback to summary
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NVback to summary
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NVback to summary
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

GL_COMPRESSED_SRGB_S3TC_DXT1_NVback to summary
public static final int GL_COMPRESSED_SRGB_S3TC_DXT1_NV

Accepted by the internalformat parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as the format parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.

GL_SLUMINANCE8_ALPHA8_NVback to summary
public static final int GL_SLUMINANCE8_ALPHA8_NV

Accepted by the internalformat parameter of TexStorage2DEXT and TexStorage3DEXT.

GL_SLUMINANCE8_NVback to summary
public static final int GL_SLUMINANCE8_NV

Accepted by the internalformat parameter of TexStorage2DEXT and TexStorage3DEXT.

GL_SLUMINANCE_ALPHA_NVback to summary
public static final int GL_SLUMINANCE_ALPHA_NV

Accepted by the format and internalformat parameter of TexImage2D, and TexImage3DNV. These are also accepted by format parameter of TexSubImage2D and TexSubImage3DNV.

GL_SLUMINANCE_NVback to summary
public static final int GL_SLUMINANCE_NV

Accepted by the format and internalformat parameter of TexImage2D, and TexImage3DNV. These are also accepted by format parameter of TexSubImage2D and TexSubImage3DNV.

GL_SRGB8_NVback to summary
public static final int GL_SRGB8_NV

Accepted by the internalformat parameter of RenderbufferStorage, TexStorage2DEXT, and TexStorage3DEXT.

Constructor Detail

NVSRGBFormatsback to summary
private NVSRGBFormats()