Class ARBES32Compatibility
- java.lang.Object
-
- org.lwjgl.opengl.ARBES32Compatibility
-
public class ARBES32Compatibility extends java.lang.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
andKHR_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
andARB_ES3_1_compatibility
.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB
GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB
GL_PRIMITIVE_BOUNDING_BOX_ARBAccepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glPrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW)
Specifies the primitive bounding box.
-
-
-
Field Detail
-
GL_PRIMITIVE_BOUNDING_BOX_ARB, GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB, GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB
Accepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
-
-
Method Detail
-
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 coordinateminY
- the minimum y clip space coordinateminZ
- the minimum z clip space coordinateminW
- the minimum w clip space coordinatemaxX
- the maximum x clip space coordinatemaxY
- the maximum y clip space coordinatemaxZ
- the maximum z clip space coordinatemaxW
- the maximum w clip space coordinate
-
-