This extension introduces the concept of occlusion query events and changes the concept of an occlusion query from counting passed fragments to counting fragments that generate any of a user-selectable set of events. Provided events include passing the depth test, and passing or failing the stencil test. For a given occlusion query object, counting of these events may be enabled or disabled, allowing any combination to be counted.
Requires OpenGL 1..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_OCCLUSION_QUERY_EVENT_MASK_AMD
Accepted by the |
| public static final int | GL_QUERY_ALL_EVENT_BITS_AMD
Accepted by the |
| public static final int | GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD
Accepted by the |
| public static final int | GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD
Accepted by the |
| public static final int | GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD
Accepted by the |
| public static final int | GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |
|---|---|---|
| public static native void | glQueryObjectParameteruiAMD(int target, int
a value returned from a previous call to id, int GenQueriesthe parameter to modify. Must be: pname, int param)
Changes the value of a query object parameter. |
| GL_OCCLUSION_QUERY_EVENT_MASK_AMD | back to summary |
|---|---|
| public static final int GL_OCCLUSION_QUERY_EVENT_MASK_AMD Accepted by the | |
| GL_QUERY_ALL_EVENT_BITS_AMD | back to summary |
|---|---|
| public static final int GL_QUERY_ALL_EVENT_BITS_AMD Accepted by the | |
| GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD | back to summary |
|---|---|
| public static final int GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD Accepted by the | |
| GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD | back to summary |
|---|---|
| public static final int GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD Accepted by the | |
| GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD | back to summary |
|---|---|
| public static final int GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD Accepted by the | |
| GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD | back to summary |
|---|---|
| public static final int GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD Accepted by the | |
| AMDOcclusionQueryEvent | back to summary |
|---|---|
| protected AMDOcclusionQueryEvent() | |
| glQueryObjectParameteruiAMD | back to summary | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static native void glQueryObjectParameteruiAMD(int target, int id, int pname, int param) Changes the value of a query object parameter.
| ||||||||||||||