Class ARBOcclusionQuery2

java.lang.Object
org.lwjgl.opengl.ARBOcclusionQuery2

public final class ARBOcclusionQuery2 extends Object
Native bindings to the ARB_occlusion_query2 extension.

This extension trivially adds a boolean occlusion query to ARB_occlusion_query.

While the counter-based occlusion query provided by ARB_occlusion_query is flexible, there is still value to a simple boolean, which is often sufficient for applications.

Promoted to core in OpenGL 3.3.

  • Field Details

    • GL_ANY_SAMPLES_PASSED

      public static final int GL_ANY_SAMPLES_PASSED
      Accepted by the target parameter of BeginQuery, EndQuery, and GetQueryiv.
      See Also: