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 intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, and GetFloatv.static final intAccepted by thecapparameter of Enable and Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, and GetFloatv.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, and GetFloatv. -
Method Summary
-
Field Details
-
GL_ALPHA_TEST_QCOM
public static final int GL_ALPHA_TEST_QCOMAccepted by thecapparameter of Enable and Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, and GetFloatv.- See Also:
-
GL_ALPHA_TEST_FUNC_QCOM
public static final int GL_ALPHA_TEST_FUNC_QCOMAccepted by thepnameparameter of GetBooleanv, GetIntegerv, and GetFloatv.- See Also:
-
GL_ALPHA_TEST_REF_QCOM
public static final int GL_ALPHA_TEST_REF_QCOMAccepted by thepnameparameter of GetBooleanv, GetIntegerv, and GetFloatv.- See Also:
-
-
Method Details
-
glAlphaFuncQCOM
public static void glAlphaFuncQCOM(int func, float ref)
-