Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class AMDOcclusionQueryEvent

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native 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

Modifier and TypeField and Description
public static final int
public static final int
GL_QUERY_ALL_EVENT_BITS_AMD

Accepted by the param argument to QueryObjectParameteruiAMD.

public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_OCCLUSION_QUERY_EVENT_MASK_AMDback to summary
public static final int GL_OCCLUSION_QUERY_EVENT_MASK_AMD

Accepted by the pname argument to QueryObjectParameteruiAMD, GetQueryObjectiv, GetQueryObjectuiv, GetQueryObjecti64v, and GetQueryObjectui64v.

GL_QUERY_ALL_EVENT_BITS_AMDback to summary
public static final int GL_QUERY_ALL_EVENT_BITS_AMD

Accepted by the param argument to QueryObjectParameteruiAMD.

GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMDback to summary
public static final int GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD

Accepted by the param argument to QueryObjectParameteruiAMD.

GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMDback to summary
public static final int GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD

Accepted by the param argument to QueryObjectParameteruiAMD.

GL_QUERY_DEPTH_PASS_EVENT_BIT_AMDback to summary
public static final int GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD

Accepted by the param argument to QueryObjectParameteruiAMD.

GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMDback to summary
public static final int GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD

Accepted by the param argument to QueryObjectParameteruiAMD.

Constructor Detail

AMDOcclusionQueryEventback to summary
protected AMDOcclusionQueryEvent()

Method Detail

glQueryObjectParameteruiAMDback to summary
public static native void glQueryObjectParameteruiAMD(int target, int id, int pname, int param)

Changes the value of a query object parameter.

Parameters
target:int

a valid query target. One of:

SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSED
TIMESTAMPANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVE
id:int

a value returned from a previous call to GenQueries

pname:int

the parameter to modify. Must be:

OCCLUSION_QUERY_EVENT_MASK_AMD
param:int

the new value. One of:

QUERY_DEPTH_PASS_EVENT_BIT_AMDQUERY_DEPTH_FAIL_EVENT_BIT_AMD
QUERY_STENCIL_FAIL_EVENT_BIT_AMDQUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD
QUERY_ALL_EVENT_BITS_AMD