Class QCOMAlphaTest

java.lang.Object
org.lwjgl.opengles.QCOMAlphaTest

public class QCOMAlphaTest extends 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
    Description
    static final int
    Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
    static final int
    Accepted by the cap parameter of Enable and Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
    static final int
    Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
  • Method Summary

    Modifier and Type
    Method
    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 Details

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

    • glAlphaFuncQCOM

      public static void glAlphaFuncQCOM(int func, float ref)