public class QCOMAlphaTest
extends java.lang.Object
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.
| 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. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glAlphaFuncQCOM(int func,
float ref) |
public static final int GL_ALPHA_TEST_QCOM
cap parameter of Enable and Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, and
GetFloatv.public static final int GL_ALPHA_TEST_FUNC_QCOM
pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.public static final int GL_ALPHA_TEST_REF_QCOM
pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.Copyright LWJGL. All Rights Reserved. License terms.