Package org.lwjgl.opengles
Class QCOMAlphaTest
java.lang.Object
org.lwjgl.opengles.QCOMAlphaTest
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
FieldsModifier and TypeFieldDescriptionstatic final int
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, and GetFloatv.static final int
Accepted by thecap
parameter of Enable and Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, and GetFloatv.static final int
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, and GetFloatv. -
Method Summary
-
Field Details
-
GL_ALPHA_TEST_QCOM
public static final int GL_ALPHA_TEST_QCOMAccepted by thecap
parameter of Enable and Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, and GetFloatv.- See Also:
-
GL_ALPHA_TEST_FUNC_QCOM
public static final int GL_ALPHA_TEST_FUNC_QCOMAccepted by thepname
parameter of GetBooleanv, GetIntegerv, and GetFloatv.- See Also:
-
GL_ALPHA_TEST_REF_QCOM
public static final int GL_ALPHA_TEST_REF_QCOMAccepted by thepname
parameter of GetBooleanv, GetIntegerv, and GetFloatv.- See Also:
-
-
Method Details
-
glAlphaFuncQCOM
public static void glAlphaFuncQCOM(int func, float ref)
-