Package org.lwjgl.egl

Class KHRGLColorspace

  • public final class KHRGLColorspace
    extends java.lang.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 Detail


        public static final int EGL_GL_COLORSPACE_SRGB_KHR
        See Also:
        Constant Field Values

        public static final int EGL_GL_COLORSPACE_LINEAR_KHR
        See Also:
        Constant Field Values