Class ARBES32Compatibility

java.lang.Object
org.lwjgl.opengl.ARBES32Compatibility

public class ARBES32Compatibility extends Object
Native bindings to the ARB_ES3_2_compatibility extension.

This extension adds support for features of OpenGL ES 3.2 that are missing from OpenGL 4.5. Enabling these features will ease the process of porting applications from OpenGL ES 3.2 to OpenGL.

In particular this adds the following features:

  • Bounding box used to optimization tessellation processing (OES_primitive_bounding_box)
  • query for MULTISAMPLE_LINE_WIDTH_RANGE_ARB
  • support for the OpenGL ES 3.20 shading language

For full OpenGL ES 3.2 compatibility the implementation must support KHR_blend_equation_advanced and KHR_texture_compression_astc_ldr. Those features are not defined in this extension spec since they are already defined at the KHR level.

Requires OpenGL 4.5, ARB_ES2_compatibility, ARB_ES3_compatibility and ARB_ES3_1_compatibility.

  • Field Details

    • GL_PRIMITIVE_BOUNDING_BOX_ARB

      public static final int GL_PRIMITIVE_BOUNDING_BOX_ARB
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB

      public static final int GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB

      public static final int GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
  • Method Details

    • glPrimitiveBoundingBoxARB

      public static void glPrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW)
      Specifies the primitive bounding box.

      Implementations may be able to optimize performance if the application provides bounds of primitives that will be generated by the tessellation primitive generator or the geometry shader prior to executing those stages. If the provided bounds are incorrect and primitives extend beyond them, the rasterizer may or may not generate fragments for the portions of primitives outside the bounds.

      Parameters:
      minX - the minimum x clip space coordinate
      minY - the minimum y clip space coordinate
      minZ - the minimum z clip space coordinate
      minW - the minimum w clip space coordinate
      maxX - the maximum x clip space coordinate
      maxY - the maximum y clip space coordinate
      maxZ - the maximum z clip space coordinate
      maxW - the maximum w clip space coordinate