Class OESShaderMultisampleInterpolation

java.lang.Object
org.lwjgl.opengles.OESShaderMultisampleInterpolation

public final class OESShaderMultisampleInterpolation extends Object
Native bindings to the OES_shader_multisample_interpolation extension.

In standard multisample rendering, an implementation is allowed to assign the same sets of fragment shader input values to each sample. This can cause aliasing where the fragment shader input values are used to generate a result that doesn't antialias itself, for example with alpha-tested transparency.

This extension adds the "sample" qualifier that can be used on vertex outputs and fragment inputs. When the "sample" qualifier is used, the fragment shader is invoked separately for each covered sample and all such qualified interpolants must be evaluated at the corresponding sample point.

This extension provides built-in fragment shader functions to provide fine-grained control over interpolation, including interpolating a fragment shader input at a programmable offset relative to the pixel center, a specific sample number, or at the centroid.

Requires GLES 3.0.

  • Field Details

    • GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES

      public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES

      public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES

      public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also: