Class EXTSRGBWriteControl

java.lang.Object
org.lwjgl.opengles.EXTSRGBWriteControl

public final class EXTSRGBWriteControl extends 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 Details

    • 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: