Class QCOMAlphaTest



  • public class QCOMAlphaTest
    extends java.lang.Object
    Native bindings to the QCOM_alpha_test extension.

    This extension reintroduces the alpha test per-fragment operation from OpenGL ES 1.x. Some hardware has a dedicated unit capable of performing this operation, and it can save ALU operations in the fragment shader by avoiding the conditional discard.

    • Field Summary

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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void glAlphaFuncQCOM(int func, float ref) 
      • Methods inherited from class java.lang.Object

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

      • GL_ALPHA_TEST_QCOM

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

        public static final int GL_ALPHA_TEST_FUNC_QCOM
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_ALPHA_TEST_REF_QCOM

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

      • glAlphaFuncQCOM

        public static void glAlphaFuncQCOM(int func,
                                           float ref)