Class EXTGLColorspaceSCRGBLinear
- java.lang.Object
-
- org.lwjgl.egl.EXTGLColorspaceSCRGBLinear
-
public final class EXTGLColorspaceSCRGBLinear extends java.lang.ObjectNative bindings to the EXT_gl_colorspace_scrgb_linear extension.This extension provides an extended sRGB (also called scRGB) color space option for applications to choose from when creating an
EGLSurface. This extension defines the linear display referred scRGB color space. It has the same white point and color primaries as sRGB, and thus is backward-compatible with sRGB. Refer to the IEC 61966-2-2:2003 standard for details on scRGB color space.This extension chooses to use floating-point formats for scRGB color space. For each color channel, the floating-point values of 0.0 and 1.0 still correspond to sRGB chromaticities and luminance levels. However, scRGB space allows for color values beyond the range of [0.0, 1.0], and can thus achieve a larger color volume than that of sRGB. As it is display referred, scRGB space makes assumptions of how the floating-point color values should map to luminance levels by the underlying display pipeline. The expected mapping is such that a color value of (1.0, 1.0, 1.0) corresponds to a luminance level of 80 nits on a standardized studio monitor. As the color value per channel goes beyond 1.0 and up to 125.0, the corresponding luminance levels also increase linearly to a maximum of 10000 nits.
Requires
KHR_gl_colorspaceandEXT_pixel_format_float.
-
-
Field Summary
Fields Modifier and Type Field Description static intEGL_GL_COLORSPACE_SCRGB_LINEAR_EXTAccepted as attribute values forGL_COLORSPACEbyCreateWindowSurface,CreatePbufferSurfaceandCreatePixmapSurface.
-
-
-
Field Detail
-
EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT
public static final int EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT
Accepted as attribute values forGL_COLORSPACEbyCreateWindowSurface,CreatePbufferSurfaceandCreatePixmapSurface.- See Also:
- Constant Field Values
-
-