Class EXTSRGBWriteControl


  • public final class EXTSRGBWriteControl
    extends java.lang.Object
    Native bindings to the EXT_sRGB_write_control extension.

    This extension's intent is to expose new functionality which allows an application the ability to decide if the conversion from linear space to sRGB is necessary by enabling or disabling this conversion at framebuffer write or blending time. An application which passes non-linear vector data to a shader may not want the color conversion occurring, and by disabling conversion the application can be simplified, sometimes in very significant and more optimal ways.

    Requires GLES 2.0 and EXT_sRGB or GLES 3.0.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int GL_FRAMEBUFFER_SRGB_EXT
      Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv and GetInteger64v.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GL_FRAMEBUFFER_SRGB_EXT

        public static final int GL_FRAMEBUFFER_SRGB_EXT
        Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv and GetInteger64v.
        See Also:
        Constant Field Values