Class OESSampleShading


  • public class OESSampleShading
    extends java.lang.Object
    Native bindings to the OES_sample_shading 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 ability to explicitly request that an implementation use a minimum number of unique set of fragment computation inputs when multisampling a pixel. Specifying such a requirement can reduce aliasing that results from evaluating the fragment computations too few times per pixel.

    This extension adds new global state that controls the minimum number of samples for which attribute data is independently interpolated. When enabled, all fragment-shading operations are executed independently on each sample.

    Requires GLES 3.0.

    • Field Summary

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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void glMinSampleShadingOES​(float value)  
      • Methods inherited from class java.lang.Object

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

      • GL_SAMPLE_SHADING_OES

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

        public static final int GL_MIN_SAMPLE_SHADING_VALUE_OES
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, and GetFloatv.
        See Also:
        Constant Field Values
    • Method Detail

      • glMinSampleShadingOES

        public static void glMinSampleShadingOES​(float value)