Package org.lwjgl.egl

Class KHRGLColorspace

java.lang.Object
org.lwjgl.egl.KHRGLColorspace

public final class KHRGLColorspace extends Object
Native bindings to the KHR_gl_colorspace extension.

Applications may wish to use sRGB format default framebuffers to more easily achieve sRGB rendering to display devices. This extension allows creating EGLSurfaces which will be rendered to in sRGB by OpenGL contexts supporting that capability.

Requires EGL 1.4.

  • Field Details

    • EGL_GL_COLORSPACE_KHR

      public static final int EGL_GL_COLORSPACE_KHR
      See Also:
    • EGL_GL_COLORSPACE_SRGB_KHR

      public static final int EGL_GL_COLORSPACE_SRGB_KHR
      See Also:
    • EGL_GL_COLORSPACE_LINEAR_KHR

      public static final int EGL_GL_COLORSPACE_LINEAR_KHR
      See Also: