Package org.lwjgl.opengles
Class EXTTextureFormatSRGBOverride
- java.lang.Object
-
- org.lwjgl.opengles.EXTTextureFormatSRGBOverride
-
public final class EXTTextureFormatSRGBOverride extends java.lang.ObjectNative bindings to the EXT_texture_format_sRGB_override extension.This extension provides a new texture parameter to override the internal format of a texture object; allowing a non-sRGB format to be overridden to a corresponding sRGB format. For example, an RGB8 texture can be overridden to SRGB8. Such an override will cause the RGB components to be "decoded" from sRGB color space to linear as part of texture filtering. This can be useful for applications where a texture was written with sRGB data using
EXT_sRGB_write_controlor when sampling from anEGLImagethat is known to contain sRGB color values.
-
-
Field Summary
Fields Modifier and Type Field Description static intGL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXTAccepted by thepnameparameter of TexParameterf, TexParameterfv, TexParameteri, TexParameteriv, TexParameterIiv, TexParameterIuiv, TexParameterIivEXT, TexParameterIuivEXT, GetTexParameterfv, GetTexParameteriv, GetTexParameterIiv, GetTexParameterIuiv, GetTexParameterIivEXT, GetTexParameterIuivEXT.
-
-
-
Field Detail
-
GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT
public static final int GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT
Accepted by thepnameparameter of TexParameterf, TexParameterfv, TexParameteri, TexParameteriv, TexParameterIiv, TexParameterIuiv, TexParameterIivEXT, TexParameterIuivEXT, GetTexParameterfv, GetTexParameteriv, GetTexParameterIiv, GetTexParameterIuiv, GetTexParameterIivEXT, GetTexParameterIuivEXT.- See Also:
- Constant Field Values
-
-