mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-26 23:13:01 +00:00
Add missing APPLE GL extension mappings
This commit is contained in:
1 parent
9d4e310ed5
commit
b000adbea4
13 files changed
+312
-2
No files matched your search
@@ -0,0 +1,7 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEAuxDepthStencil {
|
||||
|
||||
public static final int GL_AUX_DEPTH_STENCIL_APPLE = (int) 35348;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEClientStorage {
|
||||
|
||||
public static final int GL_UNPACK_CLIENT_STORAGE_APPLE = (int) 34226;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEElementArray {
|
||||
|
||||
public static final int GL_ELEMENT_ARRAY_APPLE = (int) 34664;
|
||||
public static final int GL_ELEMENT_ARRAY_POINTER_APPLE = (int) 34666;
|
||||
public static final int GL_ELEMENT_ARRAY_TYPE_APPLE = (int) 34665;
|
||||
|
||||
public static void glDrawElementArrayAPPLE(int mode, int first, int count) {
|
||||
org.lwjgl.opengl.APPLEElementArray.glDrawElementArrayAPPLE(mode, first, count);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementArrayAPPLE(int mode, int start, int end, int first, int count) {
|
||||
org.lwjgl.opengl.APPLEElementArray.glDrawRangeElementArrayAPPLE(mode, start, end, first, count);
|
||||
}
|
||||
|
||||
public static void glElementPointerAPPLE(java.nio.ByteBuffer pointer) {
|
||||
org.lwjgl.opengl.APPLEElementArray.glElementPointerAPPLE(pointer);
|
||||
}
|
||||
|
||||
public static void glElementPointerAPPLE(java.nio.IntBuffer pointer) {
|
||||
org.lwjgl.opengl.APPLEElementArray.glElementPointerAPPLE(pointer);
|
||||
}
|
||||
|
||||
public static void glElementPointerAPPLE(java.nio.ShortBuffer pointer) {
|
||||
org.lwjgl.opengl.APPLEElementArray.glElementPointerAPPLE(pointer);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementArrayAPPLE(int mode, java.nio.IntBuffer first, java.nio.IntBuffer count) {
|
||||
org.lwjgl.opengl.APPLEElementArray.glMultiDrawElementArrayAPPLE(mode, first, count);
|
||||
}
|
||||
|
||||
public static void glMultiDrawRangeElementArrayAPPLE(int mode, int start, int end, java.nio.IntBuffer first,
|
||||
java.nio.IntBuffer count) {
|
||||
org.lwjgl.opengl.APPLEElementArray.glMultiDrawRangeElementArrayAPPLE(mode, start, end, first, count);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEFence {
|
||||
|
||||
public static final int GL_DRAW_PIXELS_APPLE = (int) 35338;
|
||||
public static final int GL_FENCE_APPLE = (int) 35339;
|
||||
|
||||
public static void glDeleteFencesAPPLE(int fence) {
|
||||
org.lwjgl.opengl.APPLEFence.glDeleteFencesAPPLE(fence);
|
||||
}
|
||||
|
||||
public static void glDeleteFencesAPPLE(java.nio.IntBuffer fences) {
|
||||
org.lwjgl.opengl.APPLEFence.glDeleteFencesAPPLE(fences);
|
||||
}
|
||||
|
||||
public static void glFinishFenceAPPLE(int fence) {
|
||||
org.lwjgl.opengl.APPLEFence.glFinishFenceAPPLE(fence);
|
||||
}
|
||||
|
||||
public static void glFinishObjectAPPLE(int object, int name) {
|
||||
org.lwjgl.opengl.APPLEFence.glFinishObjectAPPLE(object, name);
|
||||
}
|
||||
|
||||
public static int glGenFencesAPPLE() {
|
||||
return org.lwjgl.opengl.APPLEFence.glGenFencesAPPLE();
|
||||
}
|
||||
|
||||
public static void glGenFencesAPPLE(java.nio.IntBuffer fences) {
|
||||
org.lwjgl.opengl.APPLEFence.glGenFencesAPPLE(fences);
|
||||
}
|
||||
|
||||
public static boolean glIsFenceAPPLE(int fence) {
|
||||
return org.lwjgl.opengl.APPLEFence.glIsFenceAPPLE(fence);
|
||||
}
|
||||
|
||||
public static void glSetFenceAPPLE(int fence) {
|
||||
org.lwjgl.opengl.APPLEFence.glSetFenceAPPLE(fence);
|
||||
}
|
||||
|
||||
public static boolean glTestFenceAPPLE(int fence) {
|
||||
return org.lwjgl.opengl.APPLEFence.glTestFenceAPPLE(fence);
|
||||
}
|
||||
|
||||
public static boolean glTestObjectAPPLE(int object, int name) {
|
||||
return org.lwjgl.opengl.APPLEFence.glTestObjectAPPLE(object, name);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEFloatPixels {
|
||||
|
||||
public static final int GL_ALPHA_FLOAT16_APPLE = (int) 34844;
|
||||
public static final int GL_ALPHA_FLOAT32_APPLE = (int) 34838;
|
||||
public static final int GL_COLOR_FLOAT_APPLE = (int) 35343;
|
||||
public static final int GL_HALF_APPLE = (int) 5131;
|
||||
public static final int GL_INTENSITY_FLOAT16_APPLE = (int) 34845;
|
||||
public static final int GL_INTENSITY_FLOAT32_APPLE = (int) 34839;
|
||||
public static final int GL_LUMINANCE_ALPHA_FLOAT16_APPLE = (int) 34847;
|
||||
public static final int GL_LUMINANCE_ALPHA_FLOAT32_APPLE = (int) 34841;
|
||||
public static final int GL_LUMINANCE_FLOAT16_APPLE = (int) 34846;
|
||||
public static final int GL_LUMINANCE_FLOAT32_APPLE = (int) 34840;
|
||||
public static final int GL_RGBA_FLOAT16_APPLE = (int) 34842;
|
||||
public static final int GL_RGBA_FLOAT32_APPLE = (int) 34836;
|
||||
public static final int GL_RGB_FLOAT16_APPLE = (int) 34843;
|
||||
public static final int GL_RGB_FLOAT32_APPLE = (int) 34837;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEFlushBufferRange {
|
||||
|
||||
public static final int GL_BUFFER_FLUSHING_UNMAP_APPLE = (int) 35347;
|
||||
public static final int GL_BUFFER_SERIALIZED_MODIFY_APPLE = (int) 35346;
|
||||
|
||||
public static void glBufferParameteriAPPLE(int target, int pname, int param) {
|
||||
org.lwjgl.opengl.APPLEFlushBufferRange.glBufferParameteriAPPLE(target, pname, param);
|
||||
}
|
||||
|
||||
public static void glFlushMappedBufferRangeAPPLE(int target, long offset, long size) {
|
||||
org.lwjgl.opengl.APPLEFlushBufferRange.glFlushMappedBufferRangeAPPLE(target, offset, size);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
import java.nio.IntBuffer;
|
||||
|
||||
import org.lwjgl.system.MemoryStack;
|
||||
|
||||
public class APPLEObjectPurgeable {
|
||||
|
||||
public static final int GL_BUFFER_OBJECT_APPLE = (int) 34227;
|
||||
public static final int GL_PURGEABLE_APPLE = (int) 35357;
|
||||
public static final int GL_RELEASED_APPLE = (int) 35353;
|
||||
public static final int GL_RETAINED_APPLE = (int) 35355;
|
||||
public static final int GL_UNDEFINED_APPLE = (int) 35356;
|
||||
public static final int GL_VOLATILE_APPLE = (int) 35354;
|
||||
|
||||
public static void glGetObjectParameterAPPLE(int objectType, int name, int pname, java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.APPLEObjectPurgeable.glGetObjectParameterAPPLE(objectType, name, pname, params);
|
||||
}
|
||||
|
||||
public static int glGetObjectParameteriAPPLE(int objectType, int name, int pname) {
|
||||
try (MemoryStack ms = MemoryStack.stackPush()) {
|
||||
IntBuffer val = ms.ints(1);
|
||||
org.lwjgl.opengl.APPLEObjectPurgeable.glGetObjectParameterAPPLE(objectType, name, pname, val);
|
||||
return val.get(0);
|
||||
}
|
||||
}
|
||||
|
||||
public static int glObjectPurgeableAPPLE(int objectType, int name, int option) {
|
||||
return org.lwjgl.opengl.APPLEObjectPurgeable.glObjectPurgeableAPPLE(objectType, name, option);
|
||||
}
|
||||
|
||||
public static int glObjectUnpurgeableAPPLE(int objectType, int name, int option) {
|
||||
return org.lwjgl.opengl.APPLEObjectPurgeable.glObjectUnpurgeableAPPLE(objectType, name, option);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLERowBytes {
|
||||
|
||||
public static final int GL_PACK_ROW_BYTES_APPLE = (int) 35349;
|
||||
public static final int GL_UNPACK_ROW_BYTES_APPLE = (int) 35350;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLETextureRange {
|
||||
|
||||
public static final int GL_STORAGE_CACHED_APPLE = (int) 34238;
|
||||
public static final int GL_STORAGE_PRIVATE_APPLE = (int) 34237;
|
||||
public static final int GL_STORAGE_SHARED_APPLE = (int) 34239;
|
||||
public static final int GL_TEXTURE_RANGE_LENGTH_APPLE = (int) 34231;
|
||||
public static final int GL_TEXTURE_RANGE_POINTER_APPLE = (int) 34232;
|
||||
public static final int GL_TEXTURE_STORAGE_HINT_APPLE = (int) 34236;
|
||||
|
||||
public static java.nio.Buffer glGetTexParameterPointervAPPLE(int arg0, int arg1, long arg2) {
|
||||
return org.lwjgl.opengl.APPLETextureRange.glGetTexParameterPointervAPPLE(arg0, arg1, arg2);
|
||||
}
|
||||
|
||||
public static void glTextureRangeAPPLE(int target, java.nio.ByteBuffer pointer) {
|
||||
org.lwjgl.opengl.APPLETextureRange.glTextureRangeAPPLE(target, pointer);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEVertexArrayObject {
|
||||
|
||||
public static final int GL_VERTEX_ARRAY_BINDING_APPLE = (int) 34229;
|
||||
|
||||
public static void glBindVertexArrayAPPLE(int array) {
|
||||
org.lwjgl.opengl.APPLEVertexArrayObject.glBindVertexArrayAPPLE(array);
|
||||
}
|
||||
|
||||
public static void glDeleteVertexArraysAPPLE(int array) {
|
||||
org.lwjgl.opengl.APPLEVertexArrayObject.glDeleteVertexArraysAPPLE(array);
|
||||
}
|
||||
|
||||
public static void glDeleteVertexArraysAPPLE(java.nio.IntBuffer arrays) {
|
||||
org.lwjgl.opengl.APPLEVertexArrayObject.glDeleteVertexArraysAPPLE(arrays);
|
||||
}
|
||||
|
||||
public static int glGenVertexArraysAPPLE() {
|
||||
return org.lwjgl.opengl.APPLEVertexArrayObject.glGenVertexArraysAPPLE();
|
||||
}
|
||||
|
||||
public static void glGenVertexArraysAPPLE(java.nio.IntBuffer arrays) {
|
||||
org.lwjgl.opengl.APPLEVertexArrayObject.glGenVertexArraysAPPLE(arrays);
|
||||
}
|
||||
|
||||
public static boolean glIsVertexArrayAPPLE(int array) {
|
||||
return org.lwjgl.opengl.APPLEVertexArrayObject.glIsVertexArrayAPPLE(array);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEVertexArrayRange {
|
||||
|
||||
public static final int GL_DRAW_PIXELS_APPLE = (int) 35338;
|
||||
public static final int GL_FENCE_APPLE = (int) 35339;
|
||||
public static final int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE = (int) 34080;
|
||||
public static final int GL_STORAGE_CACHED_APPLE = (int) 34238;
|
||||
public static final int GL_STORAGE_SHARED_APPLE = (int) 34239;
|
||||
public static final int GL_VERTEX_ARRAY_RANGE_APPLE = (int) 34077;
|
||||
public static final int GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = (int) 34078;
|
||||
public static final int GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = (int) 34081;
|
||||
public static final int GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = (int) 34079;
|
||||
|
||||
public static void glFlushVertexArrayRangeAPPLE(java.nio.ByteBuffer pointer) {
|
||||
org.lwjgl.opengl.APPLEVertexArrayRange.glFlushVertexArrayRangeAPPLE(pointer);
|
||||
}
|
||||
|
||||
public static void glVertexArrayParameteriAPPLE(int pname, int param) {
|
||||
org.lwjgl.opengl.APPLEVertexArrayRange.glVertexArrayParameteriAPPLE(pname, param);
|
||||
}
|
||||
|
||||
public static void glVertexArrayRangeAPPLE(java.nio.ByteBuffer pointer) {
|
||||
org.lwjgl.opengl.APPLEVertexArrayRange.glVertexArrayRangeAPPLE(pointer);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package org.lwjglx.opengl;
|
||||
|
||||
public class APPLEVertexProgramEvaluators {
|
||||
|
||||
public static final int GL_VERTEX_ATTRIB_MAP1_APPLE = (int) 35328;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE = (int) 35331;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE = (int) 35333;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE = (int) 35332;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = (int) 35330;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP2_APPLE = (int) 35329;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE = (int) 35335;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE = (int) 35337;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE = (int) 35336;
|
||||
public static final int GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE = (int) 35334;
|
||||
|
||||
public static void glDisableVertexAttribAPPLE(int index, int pname) {
|
||||
org.lwjgl.opengl.APPLEVertexProgramEvaluators.glDisableVertexAttribAPPLE(index, pname);
|
||||
}
|
||||
|
||||
public static void glEnableVertexAttribAPPLE(int index, int pname) {
|
||||
org.lwjgl.opengl.APPLEVertexProgramEvaluators.glEnableVertexAttribAPPLE(index, pname);
|
||||
}
|
||||
|
||||
public static boolean glIsVertexAttribEnabledAPPLE(int index, int pname) {
|
||||
return org.lwjgl.opengl.APPLEVertexProgramEvaluators.glIsVertexAttribEnabledAPPLE(index, pname);
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib1dAPPLE(int index, int size, double u1, double u2, int stride, int order,
|
||||
java.nio.DoubleBuffer points) {
|
||||
org.lwjgl.opengl.APPLEVertexProgramEvaluators
|
||||
.glMapVertexAttrib1dAPPLE(index, size, u1, u2, stride, order, points);
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib1fAPPLE(int index, int size, float u1, float u2, int stride, int order,
|
||||
java.nio.FloatBuffer points) {
|
||||
org.lwjgl.opengl.APPLEVertexProgramEvaluators
|
||||
.glMapVertexAttrib1fAPPLE(index, size, u1, u2, stride, order, points);
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib2dAPPLE(int index, int size, double u1, double u2, int ustride, int uorder,
|
||||
double v1, double v2, int vstride, int vorder, java.nio.DoubleBuffer points) {
|
||||
org.lwjgl.opengl.APPLEVertexProgramEvaluators
|
||||
.glMapVertexAttrib2dAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib2fAPPLE(int index, int size, float u1, float u2, int ustride, int uorder,
|
||||
float v1, float v2, int vstride, int vorder, java.nio.FloatBuffer points) {
|
||||
org.lwjgl.opengl.APPLEVertexProgramEvaluators
|
||||
.glMapVertexAttrib2fAPPLE(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user