Package org.lwjgl.opengles
Class NVSRGBFormats
java.lang.Object
org.lwjgl.opengles.NVSRGBFormats
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Accepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.static final int
Accepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.static final int
Accepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.static final int
Accepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.static final int
Accepted by theformat
andinternalformat
parameter of TexImage2D, and TexImage3DNV.static final int
Accepted by theformat
andinternalformat
parameter of TexImage2D, and TexImage3DNV.static final int
Accepted by theinternalformat
parameter of TexStorage2DEXT and TexStorage3DEXT.static final int
Accepted by theinternalformat
parameter of TexStorage2DEXT and TexStorage3DEXT.static final int
Accepted by theinternalformat
parameter of RenderbufferStorage, TexStorage2DEXT, and TexStorage3DEXT. -
Method Summary
-
Field Details
-
GL_SLUMINANCE_NV
public static final int GL_SLUMINANCE_NVAccepted by theformat
andinternalformat
parameter of TexImage2D, and TexImage3DNV. These are also accepted byformat
parameter of TexSubImage2D and TexSubImage3DNV.- See Also:
-
GL_SLUMINANCE_ALPHA_NV
public static final int GL_SLUMINANCE_ALPHA_NVAccepted by theformat
andinternalformat
parameter of TexImage2D, and TexImage3DNV. These are also accepted byformat
parameter of TexSubImage2D and TexSubImage3DNV.- See Also:
-
GL_SRGB8_NV
public static final int GL_SRGB8_NVAccepted by theinternalformat
parameter of RenderbufferStorage, TexStorage2DEXT, and TexStorage3DEXT.- See Also:
-
GL_SLUMINANCE8_NV
public static final int GL_SLUMINANCE8_NVAccepted by theinternalformat
parameter of TexStorage2DEXT and TexStorage3DEXT.- See Also:
-
GL_SLUMINANCE8_ALPHA8_NV
public static final int GL_SLUMINANCE8_ALPHA8_NVAccepted by theinternalformat
parameter of TexStorage2DEXT and TexStorage3DEXT.- See Also:
-
GL_COMPRESSED_SRGB_S3TC_DXT1_NV
public static final int GL_COMPRESSED_SRGB_S3TC_DXT1_NVAccepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.- See Also:
-
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NVAccepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.- See Also:
-
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NVAccepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.- See Also:
-
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NVAccepted by theinternalformat
parameters of TexImage2D, TexImage3DNV, CompressedTexImage2D, and CompressedTexImage3DNV as well as theformat
parameter of TexSubImage2D, TexSubImage3DNV, CompressedTexSubImage2D, and CompressedTexSubImage3DNV.- See Also:
-