Package org.lwjgl.opengl
Class AMDOcclusionQueryEvent
- java.lang.Object
-
- org.lwjgl.opengl.AMDOcclusionQueryEvent
-
public class AMDOcclusionQueryEvent extends java.lang.ObjectNative bindings to the AMD_occlusion_query_event extension.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.5.
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_OCCLUSION_QUERY_EVENT_MASK_AMDAccepted by thepnameargument toQueryObjectParameteruiAMD,GetQueryObjectiv,GetQueryObjectuiv,GetQueryObjecti64v, andGetQueryObjectui64v.static intGL_QUERY_ALL_EVENT_BITS_AMD
GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD
GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD
GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD
GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMDAccepted by theparamargument toQueryObjectParameteruiAMD.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglQueryObjectParameteruiAMD(int target, int id, int pname, int param)Changes the value of a query object parameter.
-
-
-
Field Detail
-
GL_OCCLUSION_QUERY_EVENT_MASK_AMD
Accepted by thepnameargument toQueryObjectParameteruiAMD,GetQueryObjectiv,GetQueryObjectuiv,GetQueryObjecti64v, andGetQueryObjectui64v.
-
-
Method Detail
-
glQueryObjectParameteruiAMD
public static void glQueryObjectParameteruiAMD(int target, int id, int pname, int param)Changes the value of a query object parameter.- Parameters:
target- a valid query target. One of:SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSEDTIMESTAMPANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEid- a value returned from a previous call toGenQueriespname- the parameter to modify. Must be:OCCLUSION_QUERY_EVENT_MASK_AMDparam- the new value. One of:QUERY_DEPTH_PASS_EVENT_BIT_AMDQUERY_DEPTH_FAIL_EVENT_BIT_AMDQUERY_STENCIL_FAIL_EVENT_BIT_AMDQUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMDQUERY_ALL_EVENT_BITS_AMD
-
-