mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-21 12:42:15 +00:00
[ci skip] Update the spotless config
This commit is contained in:
1 parent
8a0d12a428
commit
16fae70244
180 files changed
+4552
-4781
No files matched your search
@@ -14,22 +14,22 @@ public class LWJGLUtil {
|
||||
public static final java.lang.String PLATFORM_WINDOWS_NAME = "windows";
|
||||
|
||||
public static java.util.Map getClassTokens(org.lwjgl.LWJGLUtil$TokenFilter arg0, java.util.Map arg1,
|
||||
java.lang.Iterable arg2) {
|
||||
java.lang.Iterable arg2) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static java.util.Map getClassTokens(org.lwjgl.LWJGLUtil$TokenFilter arg0, java.util.Map arg1,
|
||||
java.lang.Class[] arg2) {
|
||||
java.lang.Class[] arg2) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static java.lang.String[] getLibraryPaths(java.lang.String arg0, java.lang.String arg1,
|
||||
java.lang.ClassLoader arg2) {
|
||||
java.lang.ClassLoader arg2) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static java.lang.String[] getLibraryPaths(java.lang.String arg0, java.lang.String[] arg1,
|
||||
java.lang.ClassLoader arg2) {
|
||||
java.lang.ClassLoader arg2) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public class AMDMultiDrawIndirect {
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirectAMD(int arg0, int arg1, java.nio.ByteBuffer arg2, int arg3,
|
||||
int arg4) {
|
||||
int arg4) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ public class APPLEElementArray {
|
||||
}
|
||||
|
||||
public static void glMultiDrawRangeElementArrayAPPLE(int arg0, int arg1, int arg2, java.nio.IntBuffer arg3,
|
||||
java.nio.IntBuffer arg4) {
|
||||
java.nio.IntBuffer arg4) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -26,22 +26,22 @@ public class APPLEVertexProgramEvaluators {
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib1dAPPLE(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5,
|
||||
java.nio.DoubleBuffer arg6) {
|
||||
java.nio.DoubleBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib1fAPPLE(int arg0, int arg1, float arg2, float arg3, int arg4, int arg5,
|
||||
java.nio.FloatBuffer arg6) {
|
||||
java.nio.FloatBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib2dAPPLE(int arg0, int arg1, double arg2, double arg3, int arg4, int arg5,
|
||||
double arg6, double arg7, int arg8, int arg9, java.nio.DoubleBuffer arg10) {
|
||||
double arg6, double arg7, int arg8, int arg9, java.nio.DoubleBuffer arg10) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glMapVertexAttrib2fAPPLE(int arg0, int arg1, float arg2, float arg3, int arg4, int arg5,
|
||||
float arg6, float arg7, int arg8, int arg9, java.nio.FloatBuffer arg10) {
|
||||
float arg6, float arg7, int arg8, int arg9, java.nio.FloatBuffer arg10) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ public class ARBProgram {
|
||||
}
|
||||
|
||||
public static void glProgramEnvParameter4dARB(int arg0, int arg1, double arg2, double arg3, double arg4,
|
||||
double arg5) {
|
||||
double arg5) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -152,12 +152,12 @@ public class ARBProgram {
|
||||
}
|
||||
|
||||
public static void glProgramLocalParameter4dARB(int arg0, int arg1, double arg2, double arg3, double arg4,
|
||||
double arg5) {
|
||||
double arg5) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glProgramLocalParameter4fARB(int arg0, int arg1, float arg2, float arg3, float arg4,
|
||||
float arg5) {
|
||||
float arg5) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ public class ARBVertexAttrib64bit {
|
||||
}
|
||||
|
||||
public static void glVertexArrayVertexAttribLOffsetEXT(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5,
|
||||
long arg6) {
|
||||
long arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -112,12 +112,12 @@ public class ATIFragmentShader {
|
||||
}
|
||||
|
||||
public static void glAlphaFragmentOp2ATI(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
int arg7, int arg8) {
|
||||
int arg7, int arg8) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glAlphaFragmentOp3ATI(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
int arg7, int arg8, int arg9, int arg10, int arg11) {
|
||||
int arg7, int arg8, int arg9, int arg10, int arg11) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -134,12 +134,12 @@ public class ATIFragmentShader {
|
||||
}
|
||||
|
||||
public static void glColorFragmentOp2ATI(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
int arg7, int arg8, int arg9) {
|
||||
int arg7, int arg8, int arg9) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glColorFragmentOp3ATI(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) {
|
||||
int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ public class ATIVertexAttribArrayObject {
|
||||
}
|
||||
|
||||
public static void glVertexAttribArrayObjectATI(int arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5,
|
||||
int arg6) {
|
||||
int arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public class Display {
|
||||
}
|
||||
|
||||
public static void create(org.lwjgl.opengl.PixelFormat arg0, org.lwjgl.opengl.Drawable arg1,
|
||||
org.lwjgl.opengl.ContextAttribs arg2) {
|
||||
org.lwjgl.opengl.ContextAttribs arg2) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ public class EXTPalettedTexture {
|
||||
}
|
||||
|
||||
public static void glColorSubTableEXT(int arg0, int arg1, int arg2, int arg3, int arg4,
|
||||
java.nio.DoubleBuffer arg5) {
|
||||
java.nio.DoubleBuffer arg5) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package org.lwjgl.opengl;
|
||||
public interface InputImplementation {
|
||||
|
||||
public abstract java.lang.Object createCursor(int arg0, int arg1, int arg2, int arg3, int arg4,
|
||||
java.nio.IntBuffer arg5, java.nio.IntBuffer arg6);
|
||||
java.nio.IntBuffer arg5, java.nio.IntBuffer arg6);
|
||||
|
||||
public abstract void createKeyboard();
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ public class NVEvaluators {
|
||||
}
|
||||
|
||||
public static void glGetMapControlPointsNV(int arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5,
|
||||
java.nio.FloatBuffer arg6) {
|
||||
java.nio.FloatBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public class NVEvaluators {
|
||||
}
|
||||
|
||||
public static void glMapControlPointsNV(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
boolean arg7, java.nio.FloatBuffer arg8) {
|
||||
boolean arg7, java.nio.FloatBuffer arg8) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@ public class NVFragmentProgram extends org.lwjgl.opengl.NVProgram {
|
||||
}
|
||||
|
||||
public static void glProgramNamedParameter4dNV(int arg0, java.nio.ByteBuffer arg1, double arg2, double arg3,
|
||||
double arg4, double arg5) {
|
||||
double arg4, double arg5) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glProgramNamedParameter4fNV(int arg0, java.nio.ByteBuffer arg1, float arg2, float arg3,
|
||||
float arg4, float arg5) {
|
||||
float arg4, float arg5) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -43,12 +43,12 @@ public class NVPresentVideo {
|
||||
}
|
||||
|
||||
public static void glPresentFrameDualFillNV(int arg0, long arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) {
|
||||
int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void glPresentFrameKeyedNV(int arg0, long arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
int arg7, int arg8, int arg9, int arg10) {
|
||||
int arg7, int arg8, int arg9, int arg10) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ public class NVRegisterCombiners {
|
||||
}
|
||||
|
||||
public static void glCombinerOutputNV(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6,
|
||||
boolean arg7, boolean arg8, boolean arg9) {
|
||||
boolean arg7, boolean arg8, boolean arg9) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ public class NVRegisterCombiners {
|
||||
}
|
||||
|
||||
public static void glGetCombinerInputParameterNV(int arg0, int arg1, int arg2, int arg3,
|
||||
java.nio.FloatBuffer arg4) {
|
||||
java.nio.FloatBuffer arg4) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@ package org.lwjgl.util;
|
||||
public class Display {
|
||||
|
||||
public static org.lwjgl.opengl.DisplayMode[] getAvailableDisplayModes(int arg0, int arg1, int arg2, int arg3,
|
||||
int arg4, int arg5, int arg6, int arg7) {
|
||||
int arg4, int arg5, int arg6, int arg7) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static org.lwjgl.opengl.DisplayMode setDisplayMode(org.lwjgl.opengl.DisplayMode[] arg0,
|
||||
java.lang.String[] arg1) {
|
||||
java.lang.String[] arg1) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ public class Rectangle {
|
||||
}
|
||||
|
||||
public org.lwjgl.util.WritableRectangle union(org.lwjgl.util.ReadableRectangle arg0,
|
||||
org.lwjgl.util.WritableRectangle arg1) {
|
||||
org.lwjgl.util.WritableRectangle arg1) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ public class GLU {
|
||||
public static final double TESS_MAX_COORD = (double) 1.0E150;
|
||||
|
||||
public static int gluBuild2DMipmaps(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5,
|
||||
java.nio.ByteBuffer arg6) {
|
||||
java.nio.ByteBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ public class GLU {
|
||||
}
|
||||
|
||||
public static void gluLookAt(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6,
|
||||
float arg7, float arg8) {
|
||||
float arg7, float arg8) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -157,17 +157,17 @@ public class GLU {
|
||||
}
|
||||
|
||||
public static boolean gluProject(float arg0, float arg1, float arg2, java.nio.FloatBuffer arg3,
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static int gluScaleImage(int arg0, int arg1, int arg2, int arg3, java.nio.ByteBuffer arg4, int arg5,
|
||||
int arg6, int arg7, java.nio.ByteBuffer arg8) {
|
||||
int arg6, int arg7, java.nio.ByteBuffer arg8) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static boolean gluUnProject(float arg0, float arg1, float arg2, java.nio.FloatBuffer arg3,
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public interface GLUtessellatorCallback {
|
||||
public abstract void combine(double[] arg0, java.lang.Object[] arg1, float[] arg2, java.lang.Object[] arg3);
|
||||
|
||||
public abstract void combineData(double[] arg0, java.lang.Object[] arg1, float[] arg2, java.lang.Object[] arg3,
|
||||
java.lang.Object arg4);
|
||||
java.lang.Object arg4);
|
||||
|
||||
public abstract void edgeFlag(boolean arg0);
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ public class GLUtessellatorCallbackAdapter {
|
||||
}
|
||||
|
||||
public void combineData(double[] arg0, java.lang.Object[] arg1, float[] arg2, java.lang.Object[] arg3,
|
||||
java.lang.Object arg4) {
|
||||
java.lang.Object arg4) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@ package org.lwjgl.util.glu;
|
||||
public class MipMap extends org.lwjgl.util.glu.Util {
|
||||
|
||||
public static int gluBuild2DMipmaps(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5,
|
||||
java.nio.ByteBuffer arg6) {
|
||||
java.nio.ByteBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static int gluScaleImage(int arg0, int arg1, int arg2, int arg3, java.nio.ByteBuffer arg4, int arg5,
|
||||
int arg6, int arg7, java.nio.ByteBuffer arg8) {
|
||||
int arg6, int arg7, java.nio.ByteBuffer arg8) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package org.lwjgl.util.glu;
|
||||
public class Project extends org.lwjgl.util.glu.Util {
|
||||
|
||||
public static void gluLookAt(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6,
|
||||
float arg7, float arg8) {
|
||||
float arg7, float arg8) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -16,12 +16,12 @@ public class Project extends org.lwjgl.util.glu.Util {
|
||||
}
|
||||
|
||||
public static boolean gluProject(float arg0, float arg1, float arg2, java.nio.FloatBuffer arg3,
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static boolean gluUnProject(float arg0, float arg1, float arg2, java.nio.FloatBuffer arg3,
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
java.nio.FloatBuffer arg4, java.nio.IntBuffer arg5, java.nio.FloatBuffer arg6) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class MappedHelper {
|
||||
}
|
||||
|
||||
public static void copy(org.lwjgl.util.mapped.MappedObject arg0, org.lwjgl.util.mapped.MappedObject arg1,
|
||||
int arg2) {
|
||||
int arg2) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ public class MappedHelper {
|
||||
}
|
||||
|
||||
public static org.lwjgl.util.mapped.MappedObject dup(org.lwjgl.util.mapped.MappedObject arg0,
|
||||
org.lwjgl.util.mapped.MappedObject arg1) {
|
||||
org.lwjgl.util.mapped.MappedObject arg1) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ public class MappedHelper {
|
||||
}
|
||||
|
||||
public static org.lwjgl.util.mapped.MappedObject slice(org.lwjgl.util.mapped.MappedObject arg0,
|
||||
org.lwjgl.util.mapped.MappedObject arg1) {
|
||||
org.lwjgl.util.mapped.MappedObject arg1) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -3,18 +3,18 @@ package org.lwjgl.util.mapped;
|
||||
public class MappedSet {
|
||||
|
||||
public static org.lwjgl.util.mapped.MappedSet2 create(org.lwjgl.util.mapped.MappedObject arg0,
|
||||
org.lwjgl.util.mapped.MappedObject arg1) {
|
||||
org.lwjgl.util.mapped.MappedObject arg1) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static org.lwjgl.util.mapped.MappedSet3 create(org.lwjgl.util.mapped.MappedObject arg0,
|
||||
org.lwjgl.util.mapped.MappedObject arg1, org.lwjgl.util.mapped.MappedObject arg2) {
|
||||
org.lwjgl.util.mapped.MappedObject arg1, org.lwjgl.util.mapped.MappedObject arg2) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static org.lwjgl.util.mapped.MappedSet4 create(org.lwjgl.util.mapped.MappedObject arg0,
|
||||
org.lwjgl.util.mapped.MappedObject arg1, org.lwjgl.util.mapped.MappedObject arg2,
|
||||
org.lwjgl.util.mapped.MappedObject arg3) {
|
||||
org.lwjgl.util.mapped.MappedObject arg1, org.lwjgl.util.mapped.MappedObject arg2,
|
||||
org.lwjgl.util.mapped.MappedObject arg3) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
|
||||
@@ -294,8 +294,16 @@ public class Matrix2f extends Matrix implements Serializable {
|
||||
*/
|
||||
public String toString() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append(m00).append(' ').append(m10).append(' ').append('\n');
|
||||
buf.append(m01).append(' ').append(m11).append(' ').append('\n');
|
||||
buf.append(m00)
|
||||
.append(' ')
|
||||
.append(m10)
|
||||
.append(' ')
|
||||
.append('\n');
|
||||
buf.append(m01)
|
||||
.append(' ')
|
||||
.append(m11)
|
||||
.append(' ')
|
||||
.append('\n');
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
|
||||
@@ -317,9 +317,27 @@ public class Matrix3f extends Matrix implements Serializable {
|
||||
*/
|
||||
public String toString() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append(m00).append(' ').append(m10).append(' ').append(m20).append(' ').append('\n');
|
||||
buf.append(m01).append(' ').append(m11).append(' ').append(m21).append(' ').append('\n');
|
||||
buf.append(m02).append(' ').append(m12).append(' ').append(m22).append(' ').append('\n');
|
||||
buf.append(m00)
|
||||
.append(' ')
|
||||
.append(m10)
|
||||
.append(' ')
|
||||
.append(m20)
|
||||
.append(' ')
|
||||
.append('\n');
|
||||
buf.append(m01)
|
||||
.append(' ')
|
||||
.append(m11)
|
||||
.append(' ')
|
||||
.append(m21)
|
||||
.append(' ')
|
||||
.append('\n');
|
||||
buf.append(m02)
|
||||
.append(' ')
|
||||
.append(m12)
|
||||
.append(' ')
|
||||
.append(m22)
|
||||
.append(' ')
|
||||
.append('\n');
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
|
||||
@@ -47,10 +47,38 @@ public class Matrix4f extends Matrix implements Serializable {
|
||||
*/
|
||||
public String toString() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append(m00).append(' ').append(m10).append(' ').append(m20).append(' ').append(m30).append('\n');
|
||||
buf.append(m01).append(' ').append(m11).append(' ').append(m21).append(' ').append(m31).append('\n');
|
||||
buf.append(m02).append(' ').append(m12).append(' ').append(m22).append(' ').append(m32).append('\n');
|
||||
buf.append(m03).append(' ').append(m13).append(' ').append(m23).append(' ').append(m33).append('\n');
|
||||
buf.append(m00)
|
||||
.append(' ')
|
||||
.append(m10)
|
||||
.append(' ')
|
||||
.append(m20)
|
||||
.append(' ')
|
||||
.append(m30)
|
||||
.append('\n');
|
||||
buf.append(m01)
|
||||
.append(' ')
|
||||
.append(m11)
|
||||
.append(' ')
|
||||
.append(m21)
|
||||
.append(' ')
|
||||
.append(m31)
|
||||
.append('\n');
|
||||
buf.append(m02)
|
||||
.append(' ')
|
||||
.append(m12)
|
||||
.append(' ')
|
||||
.append(m22)
|
||||
.append(' ')
|
||||
.append(m32)
|
||||
.append('\n');
|
||||
buf.append(m03)
|
||||
.append(' ')
|
||||
.append(m13)
|
||||
.append(' ')
|
||||
.append(m23)
|
||||
.append(' ')
|
||||
.append(m33)
|
||||
.append('\n');
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
@@ -687,17 +715,17 @@ public class Matrix4f extends Matrix implements Serializable {
|
||||
*/
|
||||
public float determinant() {
|
||||
float f = m00 * ((m11 * m22 * m33 + m12 * m23 * m31 + m13 * m21 * m32) - m13 * m22 * m31
|
||||
- m11 * m23 * m32
|
||||
- m12 * m21 * m33);
|
||||
- m11 * m23 * m32
|
||||
- m12 * m21 * m33);
|
||||
f -= m01 * ((m10 * m22 * m33 + m12 * m23 * m30 + m13 * m20 * m32) - m13 * m22 * m30
|
||||
- m10 * m23 * m32
|
||||
- m12 * m20 * m33);
|
||||
- m10 * m23 * m32
|
||||
- m12 * m20 * m33);
|
||||
f += m02 * ((m10 * m21 * m33 + m11 * m23 * m30 + m13 * m20 * m31) - m13 * m21 * m30
|
||||
- m10 * m23 * m31
|
||||
- m11 * m20 * m33);
|
||||
- m10 * m23 * m31
|
||||
- m11 * m20 * m33);
|
||||
f -= m03 * ((m10 * m21 * m32 + m11 * m22 * m30 + m12 * m20 * m31) - m12 * m21 * m30
|
||||
- m10 * m22 * m31
|
||||
- m11 * m20 * m32);
|
||||
- m10 * m22 * m31
|
||||
- m11 * m20 * m32);
|
||||
return f;
|
||||
}
|
||||
|
||||
@@ -707,7 +735,7 @@ public class Matrix4f extends Matrix implements Serializable {
|
||||
* @return result
|
||||
*/
|
||||
private static float determinant3x3(float t00, float t01, float t02, float t10, float t11, float t12, float t20,
|
||||
float t21, float t22) {
|
||||
float t21, float t22) {
|
||||
return t00 * (t11 * t22 - t12 * t21) + t01 * (t12 * t20 - t10 * t22) + t02 * (t10 * t21 - t11 * t20);
|
||||
}
|
||||
|
||||
@@ -740,94 +768,94 @@ public class Matrix4f extends Matrix implements Serializable {
|
||||
// first row
|
||||
float t00 = determinant3x3(src.m11, src.m12, src.m13, src.m21, src.m22, src.m23, src.m31, src.m32, src.m33);
|
||||
float t01 = -determinant3x3(
|
||||
src.m10,
|
||||
src.m12,
|
||||
src.m13,
|
||||
src.m20,
|
||||
src.m22,
|
||||
src.m23,
|
||||
src.m30,
|
||||
src.m32,
|
||||
src.m33);
|
||||
src.m10,
|
||||
src.m12,
|
||||
src.m13,
|
||||
src.m20,
|
||||
src.m22,
|
||||
src.m23,
|
||||
src.m30,
|
||||
src.m32,
|
||||
src.m33);
|
||||
float t02 = determinant3x3(src.m10, src.m11, src.m13, src.m20, src.m21, src.m23, src.m30, src.m31, src.m33);
|
||||
float t03 = -determinant3x3(
|
||||
src.m10,
|
||||
src.m11,
|
||||
src.m12,
|
||||
src.m20,
|
||||
src.m21,
|
||||
src.m22,
|
||||
src.m30,
|
||||
src.m31,
|
||||
src.m32);
|
||||
src.m10,
|
||||
src.m11,
|
||||
src.m12,
|
||||
src.m20,
|
||||
src.m21,
|
||||
src.m22,
|
||||
src.m30,
|
||||
src.m31,
|
||||
src.m32);
|
||||
// second row
|
||||
float t10 = -determinant3x3(
|
||||
src.m01,
|
||||
src.m02,
|
||||
src.m03,
|
||||
src.m21,
|
||||
src.m22,
|
||||
src.m23,
|
||||
src.m31,
|
||||
src.m32,
|
||||
src.m33);
|
||||
src.m01,
|
||||
src.m02,
|
||||
src.m03,
|
||||
src.m21,
|
||||
src.m22,
|
||||
src.m23,
|
||||
src.m31,
|
||||
src.m32,
|
||||
src.m33);
|
||||
float t11 = determinant3x3(src.m00, src.m02, src.m03, src.m20, src.m22, src.m23, src.m30, src.m32, src.m33);
|
||||
float t12 = -determinant3x3(
|
||||
src.m00,
|
||||
src.m01,
|
||||
src.m03,
|
||||
src.m20,
|
||||
src.m21,
|
||||
src.m23,
|
||||
src.m30,
|
||||
src.m31,
|
||||
src.m33);
|
||||
src.m00,
|
||||
src.m01,
|
||||
src.m03,
|
||||
src.m20,
|
||||
src.m21,
|
||||
src.m23,
|
||||
src.m30,
|
||||
src.m31,
|
||||
src.m33);
|
||||
float t13 = determinant3x3(src.m00, src.m01, src.m02, src.m20, src.m21, src.m22, src.m30, src.m31, src.m32);
|
||||
// third row
|
||||
float t20 = determinant3x3(src.m01, src.m02, src.m03, src.m11, src.m12, src.m13, src.m31, src.m32, src.m33);
|
||||
float t21 = -determinant3x3(
|
||||
src.m00,
|
||||
src.m02,
|
||||
src.m03,
|
||||
src.m10,
|
||||
src.m12,
|
||||
src.m13,
|
||||
src.m30,
|
||||
src.m32,
|
||||
src.m33);
|
||||
src.m00,
|
||||
src.m02,
|
||||
src.m03,
|
||||
src.m10,
|
||||
src.m12,
|
||||
src.m13,
|
||||
src.m30,
|
||||
src.m32,
|
||||
src.m33);
|
||||
float t22 = determinant3x3(src.m00, src.m01, src.m03, src.m10, src.m11, src.m13, src.m30, src.m31, src.m33);
|
||||
float t23 = -determinant3x3(
|
||||
src.m00,
|
||||
src.m01,
|
||||
src.m02,
|
||||
src.m10,
|
||||
src.m11,
|
||||
src.m12,
|
||||
src.m30,
|
||||
src.m31,
|
||||
src.m32);
|
||||
src.m00,
|
||||
src.m01,
|
||||
src.m02,
|
||||
src.m10,
|
||||
src.m11,
|
||||
src.m12,
|
||||
src.m30,
|
||||
src.m31,
|
||||
src.m32);
|
||||
// fourth row
|
||||
float t30 = -determinant3x3(
|
||||
src.m01,
|
||||
src.m02,
|
||||
src.m03,
|
||||
src.m11,
|
||||
src.m12,
|
||||
src.m13,
|
||||
src.m21,
|
||||
src.m22,
|
||||
src.m23);
|
||||
src.m01,
|
||||
src.m02,
|
||||
src.m03,
|
||||
src.m11,
|
||||
src.m12,
|
||||
src.m13,
|
||||
src.m21,
|
||||
src.m22,
|
||||
src.m23);
|
||||
float t31 = determinant3x3(src.m00, src.m02, src.m03, src.m10, src.m12, src.m13, src.m20, src.m22, src.m23);
|
||||
float t32 = -determinant3x3(
|
||||
src.m00,
|
||||
src.m01,
|
||||
src.m03,
|
||||
src.m10,
|
||||
src.m11,
|
||||
src.m13,
|
||||
src.m20,
|
||||
src.m21,
|
||||
src.m23);
|
||||
src.m00,
|
||||
src.m01,
|
||||
src.m03,
|
||||
src.m10,
|
||||
src.m11,
|
||||
src.m13,
|
||||
src.m20,
|
||||
src.m21,
|
||||
src.m23);
|
||||
float t33 = determinant3x3(src.m00, src.m01, src.m02, src.m10, src.m11, src.m12, src.m20, src.m21, src.m22);
|
||||
|
||||
// transpose and divide by the determinant
|
||||
|
||||
@@ -330,10 +330,10 @@ public class Quaternion extends Vector implements ReadableVector4f {
|
||||
public static Quaternion mul(Quaternion left, Quaternion right, Quaternion dest) {
|
||||
if (dest == null) dest = new Quaternion();
|
||||
dest.set(
|
||||
left.x * right.w + left.w * right.x + left.y * right.z - left.z * right.y,
|
||||
left.y * right.w + left.w * right.y + left.z * right.x - left.x * right.z,
|
||||
left.z * right.w + left.w * right.z + left.x * right.y - left.y * right.x,
|
||||
left.w * right.w - left.x * right.x - left.y * right.y - left.z * right.z);
|
||||
left.x * right.w + left.w * right.x + left.y * right.z - left.z * right.y,
|
||||
left.y * right.w + left.w * right.y + left.z * right.x - left.x * right.z,
|
||||
left.z * right.w + left.w * right.z + left.x * right.y - left.y * right.x,
|
||||
left.w * right.w - left.x * right.x - left.y * right.y - left.z * right.z);
|
||||
return dest;
|
||||
}
|
||||
|
||||
@@ -352,10 +352,10 @@ public class Quaternion extends Vector implements ReadableVector4f {
|
||||
// store on stack once for aliasing-safty
|
||||
if (dest == null) dest = new Quaternion();
|
||||
dest.set(
|
||||
(left.x * right.w - left.w * right.x - left.y * right.z + left.z * right.y) * n,
|
||||
(left.y * right.w - left.w * right.y - left.z * right.x + left.x * right.z) * n,
|
||||
(left.z * right.w - left.w * right.z - left.x * right.y + left.y * right.x) * n,
|
||||
(left.w * right.w + left.x * right.x + left.y * right.y + left.z * right.z) * n);
|
||||
(left.x * right.w - left.w * right.x - left.y * right.z + left.z * right.y) * n,
|
||||
(left.y * right.w - left.w * right.y - left.z * right.x + left.x * right.z) * n,
|
||||
(left.z * right.w - left.w * right.z - left.x * right.y + left.y * right.x) * n,
|
||||
(left.w * right.w + left.x * right.x + left.y * right.y + left.z * right.z) * n);
|
||||
|
||||
return dest;
|
||||
}
|
||||
@@ -423,7 +423,7 @@ public class Quaternion extends Vector implements ReadableVector4f {
|
||||
* Private method to perform the matrix-to-quaternion conversion
|
||||
*/
|
||||
private Quaternion setFromMat(float m00, float m01, float m02, float m10, float m11, float m12, float m20,
|
||||
float m21, float m22) {
|
||||
float m21, float m22) {
|
||||
|
||||
float s;
|
||||
float tr = m00 + m11 + m22;
|
||||
|
||||
@@ -150,9 +150,9 @@ public class Vector3f extends Vector implements Serializable, ReadableVector3f,
|
||||
if (dest == null) dest = new Vector3f();
|
||||
|
||||
dest.set(
|
||||
left.y * right.z - left.z * right.y,
|
||||
right.x * left.z - right.z * left.x,
|
||||
left.x * right.y - left.y * right.x);
|
||||
left.y * right.z - left.z * right.y,
|
||||
right.x * left.z - right.z * left.x,
|
||||
left.x * right.y - left.y * right.x);
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
@@ -30,10 +30,10 @@ public class ALC10 {
|
||||
}
|
||||
|
||||
public static org.lwjglx.openal.ALCcontext alcCreateContext(org.lwjglx.openal.ALCdevice arg0,
|
||||
java.nio.IntBuffer arg1) {
|
||||
java.nio.IntBuffer arg1) {
|
||||
|
||||
org.lwjglx.openal.ALCcontext returnValue = new ALCcontext(
|
||||
org.lwjgl.openal.ALC10.alcCreateContext(arg0.device, arg1));
|
||||
org.lwjgl.openal.ALC10.alcCreateContext(arg0.device, arg1));
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
@@ -103,7 +103,7 @@ public class ALC10 {
|
||||
public static org.lwjglx.openal.ALCdevice alcOpenDevice(java.lang.String arg0) {
|
||||
|
||||
org.lwjglx.openal.ALCdevice returnValue = new org.lwjglx.openal.ALCdevice(
|
||||
org.lwjgl.openal.ALC10.alcOpenDevice(arg0));
|
||||
org.lwjgl.openal.ALC10.alcOpenDevice(arg0));
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
@@ -18,10 +18,10 @@ public class ALC11 {
|
||||
}
|
||||
|
||||
public static org.lwjglx.openal.ALCdevice alcCaptureOpenDevice(java.lang.String arg0, int arg1, int frequency,
|
||||
int format) {
|
||||
int format) {
|
||||
|
||||
org.lwjglx.openal.ALCdevice returnValue = new org.lwjglx.openal.ALCdevice(
|
||||
org.lwjgl.openal.ALC11.alcCaptureOpenDevice(arg0, arg1, frequency, format));
|
||||
org.lwjgl.openal.ALC11.alcCaptureOpenDevice(arg0, arg1, frequency, format));
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
@@ -30,9 +30,9 @@ public class AMDDebugOutput {
|
||||
}
|
||||
|
||||
public static int glGetDebugMessageLogAMD(int count, java.nio.IntBuffer categories, java.nio.IntBuffer severities,
|
||||
java.nio.IntBuffer ids, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) {
|
||||
java.nio.IntBuffer ids, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) {
|
||||
return org.lwjgl.opengl.AMDDebugOutput
|
||||
.glGetDebugMessageLogAMD(count, categories, severities, ids, lengths, messageLog);
|
||||
.glGetDebugMessageLogAMD(count, categories, severities, ids, lengths, messageLog);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -35,7 +35,7 @@ public class AMDPerformanceMonitor {
|
||||
}
|
||||
|
||||
public static void glGetPerfMonitorCounterDataAMD(int monitor, int pname, java.nio.IntBuffer data,
|
||||
java.nio.IntBuffer bytesWritten) {
|
||||
java.nio.IntBuffer bytesWritten) {
|
||||
org.lwjgl.opengl.AMDPerformanceMonitor.glGetPerfMonitorCounterDataAMD(monitor, pname, data, bytesWritten);
|
||||
}
|
||||
|
||||
@@ -44,18 +44,18 @@ public class AMDPerformanceMonitor {
|
||||
}
|
||||
|
||||
public static void glGetPerfMonitorCounterStringAMD(int group, int counter, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer counterString) {
|
||||
java.nio.ByteBuffer counterString) {
|
||||
org.lwjgl.opengl.AMDPerformanceMonitor.glGetPerfMonitorCounterStringAMD(group, counter, length, counterString);
|
||||
}
|
||||
|
||||
public static void glGetPerfMonitorCountersAMD(int group, java.nio.IntBuffer numCounters,
|
||||
java.nio.IntBuffer maxActiveCounters, java.nio.IntBuffer counters) {
|
||||
java.nio.IntBuffer maxActiveCounters, java.nio.IntBuffer counters) {
|
||||
org.lwjgl.opengl.AMDPerformanceMonitor
|
||||
.glGetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counters);
|
||||
.glGetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counters);
|
||||
}
|
||||
|
||||
public static void glGetPerfMonitorGroupStringAMD(int group, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer groupString) {
|
||||
java.nio.ByteBuffer groupString) {
|
||||
org.lwjgl.opengl.AMDPerformanceMonitor.glGetPerfMonitorGroupStringAMD(group, length, groupString);
|
||||
}
|
||||
|
||||
@@ -66,12 +66,12 @@ public class AMDPerformanceMonitor {
|
||||
public static void glSelectPerfMonitorCountersAMD(int monitor, boolean enable, int group, int counter) {
|
||||
|
||||
org.lwjgl.opengl.AMDPerformanceMonitor
|
||||
.glSelectPerfMonitorCountersAMD(monitor, enable, group, new int[] { counter });
|
||||
.glSelectPerfMonitorCountersAMD(monitor, enable, group, new int[] { counter });
|
||||
|
||||
}
|
||||
|
||||
public static void glSelectPerfMonitorCountersAMD(int monitor, boolean enable, int group,
|
||||
java.nio.IntBuffer counterList) {
|
||||
java.nio.IntBuffer counterList) {
|
||||
org.lwjgl.opengl.AMDPerformanceMonitor.glSelectPerfMonitorCountersAMD(monitor, enable, group, counterList);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,15 +13,15 @@ public class AMDSparseTexture {
|
||||
public static final int GL_VIRTUAL_PAGE_SIZE_Z_AMD = (int) 37271;
|
||||
|
||||
public static void glTexStorageSparseAMD(int target, int internalFormat, int width, int height, int depth,
|
||||
int layers, int flags) {
|
||||
int layers, int flags) {
|
||||
org.lwjgl.opengl.AMDSparseTexture
|
||||
.glTexStorageSparseAMD(target, internalFormat, width, height, depth, layers, flags);
|
||||
.glTexStorageSparseAMD(target, internalFormat, width, height, depth, layers, flags);
|
||||
}
|
||||
|
||||
public static void glTextureStorageSparseAMD(int texture, int target, int internalFormat, int width, int height,
|
||||
int depth, int layers, int flags) {
|
||||
int depth, int layers, int flags) {
|
||||
org.lwjgl.opengl.AMDSparseTexture
|
||||
.glTextureStorageSparseAMD(texture, target, internalFormat, width, height, depth, layers, flags);
|
||||
.glTextureStorageSparseAMD(texture, target, internalFormat, width, height, depth, layers, flags);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -3,64 +3,64 @@ package org.lwjglx.opengl;
|
||||
public class ARBBaseInstance {
|
||||
|
||||
public static void glDrawArraysInstancedBaseInstance(int mode, int first, int count, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance.glDrawArraysInstancedBaseInstance(mode, first, count, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, int indices_count, int type,
|
||||
long indices_buffer_offset, int primcount, int baseinstance) {
|
||||
long indices_buffer_offset, int primcount, int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance.glDrawElementsInstancedBaseInstance(
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
baseinstance);
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance.glDrawElementsInstancedBaseInstance(mode, indices, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.IntBuffer indices, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance.glDrawElementsInstancedBaseInstance(mode, indices, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance.glDrawElementsInstancedBaseInstance(mode, indices, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int indices_count, int type,
|
||||
long indices_buffer_offset, int primcount, int basevertex, int baseinstance) {
|
||||
long indices_buffer_offset, int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance.glDrawElementsInstancedBaseVertexBaseInstance(
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
basevertex,
|
||||
baseinstance);
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
basevertex,
|
||||
baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ByteBuffer indices,
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.IntBuffer indices,
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ShortBuffer indices,
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.ARBBaseInstance
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -9,12 +9,12 @@ public class ARBBlendFuncExtended {
|
||||
public static final int GL_SRC1_COLOR = (int) 35065;
|
||||
|
||||
public static void glBindFragDataLocationIndexed(int program, int colorNumber, int index,
|
||||
java.lang.CharSequence name) {
|
||||
java.lang.CharSequence name) {
|
||||
org.lwjgl.opengl.ARBBlendFuncExtended.glBindFragDataLocationIndexed(program, colorNumber, index, name);
|
||||
}
|
||||
|
||||
public static void glBindFragDataLocationIndexed(int program, int colorNumber, int index,
|
||||
java.nio.ByteBuffer name) {
|
||||
java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.ARBBlendFuncExtended.glBindFragDataLocationIndexed(program, colorNumber, index, name);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,25 +3,25 @@ package org.lwjglx.opengl;
|
||||
public class ARBClearBufferObject {
|
||||
|
||||
public static void glClearBufferData(int target, int internalformat, int format, int type,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearBufferObject.glClearBufferData(target, internalformat, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format,
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearBufferObject
|
||||
.glClearBufferSubData(target, internalformat, offset, size, format, type, data);
|
||||
.glClearBufferSubData(target, internalformat, offset, size, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearNamedBufferDataEXT(int buffer, int internalformat, int format, int type,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearBufferObject.glClearNamedBufferDataEXT(buffer, internalformat, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearNamedBufferSubDataEXT(int buffer, int internalformat, long offset, long size, int format,
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearBufferObject
|
||||
.glClearNamedBufferSubDataEXT(buffer, internalformat, offset, size, format, type, data);
|
||||
.glClearNamedBufferSubDataEXT(buffer, internalformat, offset, size, format, type, data);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -25,83 +25,33 @@ public class ARBClearTexture {
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer data) {
|
||||
org.lwjgl.opengl.ARBClearTexture
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,14 +8,14 @@ public class ARBComputeVariableGroupSize {
|
||||
public static final int GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB = (int) 37701;
|
||||
|
||||
public static void glDispatchComputeGroupSizeARB(int num_groups_x, int num_groups_y, int num_groups_z,
|
||||
int group_size_x, int group_size_y, int group_size_z) {
|
||||
int group_size_x, int group_size_y, int group_size_z) {
|
||||
org.lwjgl.opengl.ARBComputeVariableGroupSize.glDispatchComputeGroupSizeARB(
|
||||
num_groups_x,
|
||||
num_groups_y,
|
||||
num_groups_z,
|
||||
group_size_x,
|
||||
group_size_y,
|
||||
group_size_z);
|
||||
num_groups_x,
|
||||
num_groups_y,
|
||||
num_groups_z,
|
||||
group_size_x,
|
||||
group_size_y,
|
||||
group_size_z);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -6,7 +6,7 @@ public class ARBCopyBuffer {
|
||||
public static final int GL_COPY_WRITE_BUFFER = (int) 36663;
|
||||
|
||||
public static void glCopyBufferSubData(int readTarget, int writeTarget, long readOffset, long writeOffset,
|
||||
long size) {
|
||||
long size) {
|
||||
org.lwjgl.opengl.ARBCopyBuffer.glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,24 +3,24 @@ package org.lwjglx.opengl;
|
||||
public class ARBCopyImage {
|
||||
|
||||
public static void glCopyImageSubData(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ,
|
||||
int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight,
|
||||
int srcDepth) {
|
||||
int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight,
|
||||
int srcDepth) {
|
||||
org.lwjgl.opengl.ARBCopyImage.glCopyImageSubData(
|
||||
srcName,
|
||||
srcTarget,
|
||||
srcLevel,
|
||||
srcX,
|
||||
srcY,
|
||||
srcZ,
|
||||
dstName,
|
||||
dstTarget,
|
||||
dstLevel,
|
||||
dstX,
|
||||
dstY,
|
||||
dstZ,
|
||||
srcWidth,
|
||||
srcHeight,
|
||||
srcDepth);
|
||||
srcName,
|
||||
srcTarget,
|
||||
srcLevel,
|
||||
srcX,
|
||||
srcY,
|
||||
srcZ,
|
||||
dstName,
|
||||
dstTarget,
|
||||
dstLevel,
|
||||
dstX,
|
||||
dstY,
|
||||
dstZ,
|
||||
srcWidth,
|
||||
srcHeight,
|
||||
srcDepth);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -26,7 +26,7 @@ public class ARBDebugOutput {
|
||||
public static final int GL_MAX_DEBUG_MESSAGE_LENGTH_ARB = (int) 37187;
|
||||
|
||||
public static void glDebugMessageControlARB(int source, int type, int severity, java.nio.IntBuffer ids,
|
||||
boolean enabled) {
|
||||
boolean enabled) {
|
||||
org.lwjgl.opengl.ARBDebugOutput.glDebugMessageControlARB(source, type, severity, ids, enabled);
|
||||
}
|
||||
|
||||
@@ -39,10 +39,10 @@ public class ARBDebugOutput {
|
||||
}
|
||||
|
||||
public static int glGetDebugMessageLogARB(int count, java.nio.IntBuffer sources, java.nio.IntBuffer types,
|
||||
java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths,
|
||||
java.nio.ByteBuffer messageLog) {
|
||||
java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths,
|
||||
java.nio.ByteBuffer messageLog) {
|
||||
return org.lwjgl.opengl.ARBDebugOutput
|
||||
.glGetDebugMessageLogARB(count, sources, types, ids, severities, lengths, messageLog);
|
||||
.glGetDebugMessageLogARB(count, sources, types, ids, severities, lengths, messageLog);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,20 +11,20 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glBlitNamedFramebuffer(int readFramebuffer, int drawFramebuffer, int srcX0, int srcY0, int srcX1,
|
||||
int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {
|
||||
int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glBlitNamedFramebuffer(
|
||||
readFramebuffer,
|
||||
drawFramebuffer,
|
||||
srcX0,
|
||||
srcY0,
|
||||
srcX1,
|
||||
srcY1,
|
||||
dstX0,
|
||||
dstY0,
|
||||
dstX1,
|
||||
dstY1,
|
||||
mask,
|
||||
filter);
|
||||
readFramebuffer,
|
||||
drawFramebuffer,
|
||||
srcX0,
|
||||
srcY0,
|
||||
srcX1,
|
||||
srcY1,
|
||||
dstX0,
|
||||
dstY0,
|
||||
dstX1,
|
||||
dstY1,
|
||||
mask,
|
||||
filter);
|
||||
}
|
||||
|
||||
public static int glCheckNamedFramebufferStatus(int framebuffer, int target) {
|
||||
@@ -32,74 +32,68 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glClearNamedBufferData(buffer, internalformat, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format,
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
|
||||
.glClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format,
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glCompressedTextureSubImage1D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
width,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glCompressedTextureSubImage1D(texture, level, xoffset, width, format, data_imageSize, data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glCompressedTextureSubImage1D(texture, level, xoffset, width, format, data);
|
||||
.glCompressedTextureSubImage1D(texture, level, xoffset, width, format, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width,
|
||||
int height, int format, int data_imageSize, long data_buffer_offset) {
|
||||
int height, int format, int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glCompressedTextureSubImage2D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width,
|
||||
int height, int format, java.nio.ByteBuffer data) {
|
||||
int height, int format, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glCompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, data);
|
||||
.glCompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int format, int imageSize, long data_buffer_offset) {
|
||||
int width, int height, int depth, int format, int imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glCompressedTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
imageSize,
|
||||
data_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCopyNamedBufferSubData(int readBuffer, int writeBuffer, long readOffset, long writeOffset,
|
||||
long size) {
|
||||
long size) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glCopyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size);
|
||||
.glCopyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size);
|
||||
}
|
||||
|
||||
public static void glCopyTextureSubImage1D(int texture, int level, int xoffset, int x, int y, int width) {
|
||||
@@ -107,15 +101,15 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glCopyTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int x, int y,
|
||||
int width, int height) {
|
||||
int width, int height) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glCopyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height);
|
||||
.glCopyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height);
|
||||
}
|
||||
|
||||
public static void glCopyTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int x,
|
||||
int y, int width, int height) {
|
||||
int y, int width, int height) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glCopyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width, height);
|
||||
.glCopyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width, height);
|
||||
}
|
||||
|
||||
public static int glCreateBuffers() {
|
||||
@@ -207,9 +201,9 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureImage(int texture, int level, int pixels_bufSize,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glGetCompressedTextureImage(texture, level, pixels_bufSize, pixels_buffer_offset);
|
||||
.glGetCompressedTextureImage(texture, level, pixels_bufSize, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureImage(int texture, int level, java.nio.ByteBuffer pixels) {
|
||||
@@ -245,9 +239,9 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glGetTextureImage(int texture, int level, int format, int type, int pixels_bufSize,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glGetTextureImage(texture, level, format, type, pixels_bufSize, pixels_buffer_offset);
|
||||
.glGetTextureImage(texture, level, format, type, pixels_bufSize, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetTextureImage(int texture, int level, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
@@ -315,13 +309,13 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glInvalidateNamedFramebufferSubData(int framebuffer, java.nio.IntBuffer attachments, int x,
|
||||
int y, int width, int height) {
|
||||
int y, int width, int height) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glInvalidateNamedFramebufferSubData(framebuffer, attachments, x, y, width, height);
|
||||
.glInvalidateNamedFramebufferSubData(framebuffer, attachments, x, y, width, height);
|
||||
}
|
||||
|
||||
public static java.nio.ByteBuffer glMapNamedBuffer(int buffer, int access, long length,
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
return org.lwjgl.opengl.ARBDirectStateAccess.glMapNamedBuffer(buffer, access, length, old_buffer);
|
||||
}
|
||||
|
||||
@@ -330,7 +324,7 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static java.nio.ByteBuffer glMapNamedBufferRange(int buffer, long offset, long length, int access,
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
return org.lwjgl.opengl.ARBDirectStateAccess.glMapNamedBufferRange(buffer, offset, length, access, old_buffer);
|
||||
}
|
||||
|
||||
@@ -419,9 +413,9 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glNamedFramebufferRenderbuffer(int framebuffer, int attachment, int renderbuffertarget,
|
||||
int renderbuffer) {
|
||||
int renderbuffer) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glNamedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer);
|
||||
.glNamedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer);
|
||||
}
|
||||
|
||||
public static void glNamedFramebufferTexture(int framebuffer, int attachment, int texture, int level) {
|
||||
@@ -429,9 +423,9 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glNamedFramebufferTextureLayer(int framebuffer, int attachment, int texture, int level,
|
||||
int layer) {
|
||||
int layer) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glNamedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer);
|
||||
.glNamedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer);
|
||||
}
|
||||
|
||||
public static void glNamedRenderbufferStorage(int renderbuffer, int internalformat, int width, int height) {
|
||||
@@ -439,9 +433,9 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glNamedRenderbufferStorageMultisample(int renderbuffer, int samples, int internalformat,
|
||||
int width, int height) {
|
||||
int width, int height) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glNamedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height);
|
||||
.glNamedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height);
|
||||
}
|
||||
|
||||
public static void glTextureBuffer(int texture, int internalformat, int buffer) {
|
||||
@@ -469,197 +463,139 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glTextureStorage2DMultisample(int texture, int samples, int internalformat, int width,
|
||||
int height, boolean fixedsamplelocations) {
|
||||
int height, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations);
|
||||
.glTextureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTextureStorage3D(int texture, int levels, int internalformat, int width, int height,
|
||||
int depth) {
|
||||
int depth) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureStorage3D(texture, levels, internalformat, width, height, depth);
|
||||
}
|
||||
|
||||
public static void glTextureStorage3DMultisample(int texture, int samples, int internalformat, int width,
|
||||
int height, int depth, boolean fixedsamplelocations) {
|
||||
int height, int depth, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureStorage3DMultisample(
|
||||
texture,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
fixedsamplelocations);
|
||||
texture,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels_buffer_offset);
|
||||
.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.ByteBuffer pixels) {
|
||||
java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.FloatBuffer pixels) {
|
||||
java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.IntBuffer pixels) {
|
||||
java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.ShortBuffer pixels) {
|
||||
java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage2D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, long pixels_buffer_offset) {
|
||||
int height, int depth, int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTransformFeedbackBufferBase(int xfb, int index, int buffer) {
|
||||
@@ -679,19 +615,19 @@ public class ARBDirectStateAccess {
|
||||
}
|
||||
|
||||
public static void glVertexArrayAttribFormat(int vaobj, int attribindex, int size, int type, boolean normalized,
|
||||
int relativeoffset) {
|
||||
int relativeoffset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glVertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset);
|
||||
.glVertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset);
|
||||
}
|
||||
|
||||
public static void glVertexArrayAttribIFormat(int vaobj, int attribindex, int size, int type, int relativeoffset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glVertexArrayAttribIFormat(vaobj, attribindex, size, type, relativeoffset);
|
||||
.glVertexArrayAttribIFormat(vaobj, attribindex, size, type, relativeoffset);
|
||||
}
|
||||
|
||||
public static void glVertexArrayAttribLFormat(int vaobj, int attribindex, int size, int type, int relativeoffset) {
|
||||
org.lwjgl.opengl.ARBDirectStateAccess
|
||||
.glVertexArrayAttribLFormat(vaobj, attribindex, size, type, relativeoffset);
|
||||
.glVertexArrayAttribLFormat(vaobj, attribindex, size, type, relativeoffset);
|
||||
}
|
||||
|
||||
public static void glVertexArrayBindingDivisor(int vaobj, int bindingindex, int divisor) {
|
||||
|
||||
@@ -3,9 +3,9 @@ package org.lwjglx.opengl;
|
||||
public class ARBDrawElementsBaseVertex {
|
||||
|
||||
public static void glDrawElementsBaseVertex(int mode, int indices_count, int type, long indices_buffer_offset,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex
|
||||
.glDrawElementsBaseVertex(mode, indices_count, type, indices_buffer_offset, basevertex);
|
||||
.glDrawElementsBaseVertex(mode, indices_count, type, indices_buffer_offset, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawElementsBaseVertex(int mode, java.nio.ByteBuffer indices, int basevertex) {
|
||||
@@ -21,58 +21,47 @@ public class ARBDrawElementsBaseVertex {
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, int indices_count, int type,
|
||||
long indices_buffer_offset, int primcount, int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex.glDrawElementsInstancedBaseVertex(
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
basevertex);
|
||||
long indices_buffer_offset, int primcount, int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices_count, type, indices_buffer_offset, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, java.nio.ByteBuffer indices, int primcount,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, java.nio.IntBuffer indices, int primcount,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, java.nio.ShortBuffer indices, int primcount,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, int indices_count, int type,
|
||||
long indices_buffer_offset, int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex.glDrawRangeElementsBaseVertex(
|
||||
mode,
|
||||
start,
|
||||
end,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
basevertex);
|
||||
long indices_buffer_offset, int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex
|
||||
.glDrawRangeElementsBaseVertex(mode, start, end, indices_count, type, indices_buffer_offset, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, java.nio.ByteBuffer indices,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, java.nio.IntBuffer indices,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, java.nio.ShortBuffer indices,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.ARBDrawElementsBaseVertex.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex);
|
||||
}
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ public class ARBDrawInstanced {
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedARB(int mode, int indices_count, int type, long indices_buffer_offset,
|
||||
int primcount) {
|
||||
int primcount) {
|
||||
org.lwjgl.opengl.ARBDrawInstanced
|
||||
.glDrawElementsInstancedARB(mode, indices_count, type, indices_buffer_offset, primcount);
|
||||
.glDrawElementsInstancedARB(mode, indices_count, type, indices_buffer_offset, primcount);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedARB(int mode, java.nio.ByteBuffer indices, int primcount) {
|
||||
|
||||
@@ -27,7 +27,7 @@ public class ARBES2Compatibility {
|
||||
}
|
||||
|
||||
public static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, java.nio.IntBuffer range,
|
||||
java.nio.IntBuffer precision) {
|
||||
java.nio.IntBuffer precision) {
|
||||
org.lwjgl.opengl.ARBES2Compatibility.glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
|
||||
}
|
||||
|
||||
|
||||
@@ -86,9 +86,9 @@ public class ARBFramebufferObject {
|
||||
}
|
||||
|
||||
public static void glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1,
|
||||
int dstY1, int mask, int filter) {
|
||||
int dstY1, int mask, int filter) {
|
||||
org.lwjgl.opengl.ARBFramebufferObject
|
||||
.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||
.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||
}
|
||||
|
||||
public static int glCheckFramebufferStatus(int target) {
|
||||
@@ -113,7 +113,7 @@ public class ARBFramebufferObject {
|
||||
|
||||
public static void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer) {
|
||||
org.lwjgl.opengl.ARBFramebufferObject
|
||||
.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
|
||||
.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
|
||||
}
|
||||
|
||||
public static void glFramebufferTexture1D(int target, int attachment, int textarget, int texture, int level) {
|
||||
@@ -125,9 +125,9 @@ public class ARBFramebufferObject {
|
||||
}
|
||||
|
||||
public static void glFramebufferTexture3D(int target, int attachment, int textarget, int texture, int level,
|
||||
int layer) {
|
||||
int layer) {
|
||||
org.lwjgl.opengl.ARBFramebufferObject
|
||||
.glFramebufferTexture3D(target, attachment, textarget, texture, level, layer);
|
||||
.glFramebufferTexture3D(target, attachment, textarget, texture, level, layer);
|
||||
}
|
||||
|
||||
public static void glFramebufferTextureLayer(int target, int attachment, int texture, int level, int layer) {
|
||||
@@ -175,9 +175,9 @@ public class ARBFramebufferObject {
|
||||
}
|
||||
|
||||
public static void glRenderbufferStorageMultisample(int target, int samples, int internalformat, int width,
|
||||
int height) {
|
||||
int height) {
|
||||
org.lwjgl.opengl.ARBFramebufferObject
|
||||
.glRenderbufferStorageMultisample(target, samples, internalformat, width, height);
|
||||
.glRenderbufferStorageMultisample(target, samples, internalformat, width, height);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,7 +8,7 @@ public class ARBGetProgramBinary {
|
||||
public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT = (int) 33367;
|
||||
|
||||
public static void glGetProgramBinary(int program, java.nio.IntBuffer length, java.nio.IntBuffer binaryFormat,
|
||||
java.nio.ByteBuffer binary) {
|
||||
java.nio.ByteBuffer binary) {
|
||||
org.lwjgl.opengl.ARBGetProgramBinary.glGetProgramBinary(program, length, binaryFormat, binary);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,185 +3,145 @@ package org.lwjglx.opengl;
|
||||
public class ARBGetTextureSubImage {
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
int width, int height, int depth, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
int height, int depth, int format, int type, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.ARBGetTextureSubImage.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -6,44 +6,39 @@ public class ARBIndirectParameters {
|
||||
public static final int GL_PARAMETER_BUFFER_BINDING_ARB = (int) 33007;
|
||||
|
||||
public static void glMultiDrawArraysIndirectCountARB(int mode, long indirect_buffer_offset, long drawcount,
|
||||
int maxdrawcount, int stride) {
|
||||
int maxdrawcount, int stride) {
|
||||
org.lwjgl.opengl.ARBIndirectParameters
|
||||
.glMultiDrawArraysIndirectCountARB(mode, indirect_buffer_offset, drawcount, maxdrawcount, stride);
|
||||
.glMultiDrawArraysIndirectCountARB(mode, indirect_buffer_offset, drawcount, maxdrawcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawArraysIndirectCountARB(int mode, java.nio.ByteBuffer indirect, long drawcount,
|
||||
int maxdrawcount, int stride) {
|
||||
int maxdrawcount, int stride) {
|
||||
org.lwjgl.opengl.ARBIndirectParameters
|
||||
.glMultiDrawArraysIndirectCountARB(mode, indirect, drawcount, maxdrawcount, stride);
|
||||
.glMultiDrawArraysIndirectCountARB(mode, indirect, drawcount, maxdrawcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawArraysIndirectCountARB(int mode, java.nio.IntBuffer indirect, long drawcount,
|
||||
int maxdrawcount, int stride) {
|
||||
int maxdrawcount, int stride) {
|
||||
org.lwjgl.opengl.ARBIndirectParameters
|
||||
.glMultiDrawArraysIndirectCountARB(mode, indirect, drawcount, maxdrawcount, stride);
|
||||
.glMultiDrawArraysIndirectCountARB(mode, indirect, drawcount, maxdrawcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirectCountARB(int mode, int type, long indirect_buffer_offset,
|
||||
long drawcount, int maxdrawcount, int stride) {
|
||||
org.lwjgl.opengl.ARBIndirectParameters.glMultiDrawElementsIndirectCountARB(
|
||||
mode,
|
||||
type,
|
||||
indirect_buffer_offset,
|
||||
drawcount,
|
||||
maxdrawcount,
|
||||
stride);
|
||||
long drawcount, int maxdrawcount, int stride) {
|
||||
org.lwjgl.opengl.ARBIndirectParameters
|
||||
.glMultiDrawElementsIndirectCountARB(mode, type, indirect_buffer_offset, drawcount, maxdrawcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirectCountARB(int mode, int type, java.nio.ByteBuffer indirect,
|
||||
long drawcount, int maxdrawcount, int stride) {
|
||||
long drawcount, int maxdrawcount, int stride) {
|
||||
org.lwjgl.opengl.ARBIndirectParameters
|
||||
.glMultiDrawElementsIndirectCountARB(mode, type, indirect, drawcount, maxdrawcount, stride);
|
||||
.glMultiDrawElementsIndirectCountARB(mode, type, indirect, drawcount, maxdrawcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirectCountARB(int mode, int type, java.nio.IntBuffer indirect,
|
||||
long drawcount, int maxdrawcount, int stride) {
|
||||
long drawcount, int maxdrawcount, int stride) {
|
||||
org.lwjgl.opengl.ARBIndirectParameters
|
||||
.glMultiDrawElementsIndirectCountARB(mode, type, indirect, drawcount, maxdrawcount, stride);
|
||||
.glMultiDrawElementsIndirectCountARB(mode, type, indirect, drawcount, maxdrawcount, stride);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -15,7 +15,7 @@ public class ARBInvalidateSubdata {
|
||||
}
|
||||
|
||||
public static void glInvalidateSubFramebuffer(int target, java.nio.IntBuffer attachments, int x, int y, int width,
|
||||
int height) {
|
||||
int height) {
|
||||
org.lwjgl.opengl.ARBInvalidateSubdata.glInvalidateSubFramebuffer(target, attachments, x, y, width, height);
|
||||
}
|
||||
|
||||
@@ -24,9 +24,9 @@ public class ARBInvalidateSubdata {
|
||||
}
|
||||
|
||||
public static void glInvalidateTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth) {
|
||||
int height, int depth) {
|
||||
org.lwjgl.opengl.ARBInvalidateSubdata
|
||||
.glInvalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth);
|
||||
.glInvalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,7 +14,7 @@ public class ARBMapBufferRange {
|
||||
}
|
||||
|
||||
public static java.nio.ByteBuffer glMapBufferRange(int target, long offset, long length, int access,
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
return org.lwjgl.opengl.ARBMapBufferRange.glMapBufferRange(target, offset, length, access, old_buffer);
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ public class ARBMultiDrawIndirect {
|
||||
|
||||
public static void glMultiDrawArraysIndirect(int mode, long indirect_buffer_offset, int primcount, int stride) {
|
||||
org.lwjgl.opengl.ARBMultiDrawIndirect
|
||||
.glMultiDrawArraysIndirect(mode, indirect_buffer_offset, primcount, stride);
|
||||
.glMultiDrawArraysIndirect(mode, indirect_buffer_offset, primcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawArraysIndirect(int mode, java.nio.ByteBuffer indirect, int primcount, int stride) {
|
||||
@@ -16,18 +16,18 @@ public class ARBMultiDrawIndirect {
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirect(int mode, int type, long indirect_buffer_offset, int primcount,
|
||||
int stride) {
|
||||
int stride) {
|
||||
org.lwjgl.opengl.ARBMultiDrawIndirect
|
||||
.glMultiDrawElementsIndirect(mode, type, indirect_buffer_offset, primcount, stride);
|
||||
.glMultiDrawElementsIndirect(mode, type, indirect_buffer_offset, primcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirect(int mode, int type, java.nio.ByteBuffer indirect, int primcount,
|
||||
int stride) {
|
||||
int stride) {
|
||||
org.lwjgl.opengl.ARBMultiDrawIndirect.glMultiDrawElementsIndirect(mode, type, indirect, primcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirect(int mode, int type, java.nio.IntBuffer indirect, int primcount,
|
||||
int stride) {
|
||||
int stride) {
|
||||
org.lwjgl.opengl.ARBMultiDrawIndirect.glMultiDrawElementsIndirect(mode, type, indirect, primcount, stride);
|
||||
}
|
||||
|
||||
|
||||
@@ -71,25 +71,25 @@ public class ARBProgramInterfaceQuery {
|
||||
}
|
||||
|
||||
public static int glGetProgramResourceLocationIndex(int program, int programInterface,
|
||||
java.lang.CharSequence name) {
|
||||
java.lang.CharSequence name) {
|
||||
return org.lwjgl.opengl.ARBProgramInterfaceQuery
|
||||
.glGetProgramResourceLocationIndex(program, programInterface, name);
|
||||
.glGetProgramResourceLocationIndex(program, programInterface, name);
|
||||
}
|
||||
|
||||
public static int glGetProgramResourceLocationIndex(int program, int programInterface, java.nio.ByteBuffer name) {
|
||||
return org.lwjgl.opengl.ARBProgramInterfaceQuery
|
||||
.glGetProgramResourceLocationIndex(program, programInterface, name);
|
||||
.glGetProgramResourceLocationIndex(program, programInterface, name);
|
||||
}
|
||||
|
||||
public static java.lang.String glGetProgramResourceName(int program, int programInterface, int index, int bufSize) {
|
||||
return org.lwjgl.opengl.ARBProgramInterfaceQuery
|
||||
.glGetProgramResourceName(program, programInterface, index, bufSize);
|
||||
.glGetProgramResourceName(program, programInterface, index, bufSize);
|
||||
}
|
||||
|
||||
public static void glGetProgramResourceName(int program, int programInterface, int index, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer name) {
|
||||
java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.ARBProgramInterfaceQuery
|
||||
.glGetProgramResourceName(program, programInterface, index, length, name);
|
||||
.glGetProgramResourceName(program, programInterface, index, length, name);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -31,9 +31,9 @@ public class ARBRobustness {
|
||||
}
|
||||
|
||||
public static void glGetnConvolutionFilterARB(int target, int format, int type, int image_bufSize,
|
||||
long image_buffer_offset) {
|
||||
long image_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBRobustness
|
||||
.glGetnConvolutionFilterARB(target, format, type, image_bufSize, image_buffer_offset);
|
||||
.glGetnConvolutionFilterARB(target, format, type, image_bufSize, image_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetnConvolutionFilterARB(int target, int format, int type, java.nio.ByteBuffer image) {
|
||||
@@ -41,9 +41,9 @@ public class ARBRobustness {
|
||||
}
|
||||
|
||||
public static void glGetnHistogramARB(int target, boolean reset, int format, int type, int values_bufSize,
|
||||
long values_buffer_offset) {
|
||||
long values_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBRobustness
|
||||
.glGetnHistogramARB(target, reset, format, type, values_bufSize, values_buffer_offset);
|
||||
.glGetnHistogramARB(target, reset, format, type, values_bufSize, values_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetnHistogramARB(int target, boolean reset, int format, int type, java.nio.ByteBuffer values) {
|
||||
@@ -63,9 +63,9 @@ public class ARBRobustness {
|
||||
}
|
||||
|
||||
public static void glGetnMinmaxARB(int target, boolean reset, int format, int type, int values_bufSize,
|
||||
long values_buffer_offset) {
|
||||
long values_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBRobustness
|
||||
.glGetnMinmaxARB(target, reset, format, type, values_bufSize, values_buffer_offset);
|
||||
.glGetnMinmaxARB(target, reset, format, type, values_bufSize, values_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetnMinmaxARB(int target, boolean reset, int format, int type, java.nio.ByteBuffer values) {
|
||||
@@ -89,12 +89,12 @@ public class ARBRobustness {
|
||||
}
|
||||
|
||||
public static void glGetnSeparableFilterARB(int target, int format, int type, java.nio.ByteBuffer row,
|
||||
java.nio.ByteBuffer column, java.nio.ByteBuffer span) {
|
||||
java.nio.ByteBuffer column, java.nio.ByteBuffer span) {
|
||||
org.lwjgl.opengl.ARBRobustness.glGetnSeparableFilterARB(target, format, type, row, column, span);
|
||||
}
|
||||
|
||||
public static void glGetnTexImageARB(int target, int level, int format, int type, int img_bufSize,
|
||||
long img_buffer_offset) {
|
||||
long img_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBRobustness.glGetnTexImageARB(target, level, format, type, img_bufSize, img_buffer_offset);
|
||||
}
|
||||
|
||||
@@ -135,28 +135,28 @@ public class ARBRobustness {
|
||||
}
|
||||
|
||||
public static void glReadnPixelsARB(int x, int y, int width, int height, int format, int type, int data_bufSize,
|
||||
long data_buffer_offset) {
|
||||
long data_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBRobustness
|
||||
.glReadnPixelsARB(x, y, width, height, format, type, data_bufSize, data_buffer_offset);
|
||||
.glReadnPixelsARB(x, y, width, height, format, type, data_bufSize, data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glReadnPixelsARB(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.ARBRobustness.glReadnPixelsARB(x, y, width, height, format, type, data);
|
||||
}
|
||||
|
||||
public static void glReadnPixelsARB(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.FloatBuffer data) {
|
||||
java.nio.FloatBuffer data) {
|
||||
org.lwjgl.opengl.ARBRobustness.glReadnPixelsARB(x, y, width, height, format, type, data);
|
||||
}
|
||||
|
||||
public static void glReadnPixelsARB(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.IntBuffer data) {
|
||||
java.nio.IntBuffer data) {
|
||||
org.lwjgl.opengl.ARBRobustness.glReadnPixelsARB(x, y, width, height, format, type, data);
|
||||
}
|
||||
|
||||
public static void glReadnPixelsARB(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.ShortBuffer data) {
|
||||
java.nio.ShortBuffer data) {
|
||||
org.lwjgl.opengl.ARBRobustness.glReadnPixelsARB(x, y, width, height, format, type, data);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public class ARBSeparateShaderObjects {
|
||||
}
|
||||
|
||||
public static void glGetProgramPipelineInfoLog(int pipeline, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer infoLog) {
|
||||
java.nio.ByteBuffer infoLog) {
|
||||
org.lwjgl.opengl.ARBSeparateShaderObjects.glGetProgramPipelineInfoLog(pipeline, length, infoLog);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,9 +68,9 @@ public class ARBShaderImageLoadStore {
|
||||
public static final int IMAGE_FORMAT_COMPATIBILITY_BY_CLASS = (int) 37065;
|
||||
|
||||
public static void glBindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access,
|
||||
int format) {
|
||||
int format) {
|
||||
org.lwjgl.opengl.ARBShaderImageLoadStore
|
||||
.glBindImageTexture(unit, texture, level, layered, layer, access, format);
|
||||
.glBindImageTexture(unit, texture, level, layered, layer, access, format);
|
||||
}
|
||||
|
||||
public static void glMemoryBarrier(int barriers) {
|
||||
|
||||
@@ -62,7 +62,7 @@ public class ARBShaderObjects {
|
||||
}
|
||||
|
||||
public static void glGetActiveUniformARB(int programObj, int index, java.nio.IntBuffer length,
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.ARBShaderObjects.glGetActiveUniformARB(programObj, index, length, size, type, name);
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ public class ARBShaderObjects {
|
||||
public static void glShaderSourceARB(int shader, java.nio.ByteBuffer string) {
|
||||
|
||||
org.lwjgl.opengl.ARBShaderObjects
|
||||
.glShaderSourceARB(shader, me.eigenraven.lwjgl3ify.BufferCasts.bufferToCharSeq(string));
|
||||
.glShaderSourceARB(shader, me.eigenraven.lwjgl3ify.BufferCasts.bufferToCharSeq(string));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class ARBShaderStorageBufferObject {
|
||||
|
||||
public static void glShaderStorageBlockBinding(int program, int storageBlockIndex, int storageBlockBinding) {
|
||||
org.lwjgl.opengl.ARBShaderStorageBufferObject
|
||||
.glShaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding);
|
||||
.glShaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -17,18 +17,18 @@ public class ARBShaderSubroutine {
|
||||
}
|
||||
|
||||
public static void glGetActiveSubroutineName(int program, int shadertype, int index, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer name) {
|
||||
java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.ARBShaderSubroutine.glGetActiveSubroutineName(program, shadertype, index, length, name);
|
||||
}
|
||||
|
||||
public static java.lang.String glGetActiveSubroutineUniformName(int program, int shadertype, int index,
|
||||
int bufsize) {
|
||||
int bufsize) {
|
||||
return org.lwjgl.opengl.ARBShaderSubroutine
|
||||
.glGetActiveSubroutineUniformName(program, shadertype, index, bufsize);
|
||||
.glGetActiveSubroutineUniformName(program, shadertype, index, bufsize);
|
||||
}
|
||||
|
||||
public static void glGetActiveSubroutineUniformName(int program, int shadertype, int index,
|
||||
java.nio.IntBuffer length, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer length, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.ARBShaderSubroutine.glGetActiveSubroutineUniformName(program, shadertype, index, length, name);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public class ARBShadingLanguageInclude {
|
||||
}
|
||||
|
||||
public static void glGetNamedStringARB(java.lang.CharSequence name, java.nio.IntBuffer stringlen,
|
||||
java.nio.ByteBuffer string) {
|
||||
java.nio.ByteBuffer string) {
|
||||
org.lwjgl.opengl.ARBShadingLanguageInclude.glGetNamedStringARB(name, stringlen, string);
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ public class ARBShadingLanguageInclude {
|
||||
}
|
||||
|
||||
public static void glGetNamedStringARB(java.nio.ByteBuffer name, java.nio.IntBuffer stringlen,
|
||||
java.nio.ByteBuffer string) {
|
||||
java.nio.ByteBuffer string) {
|
||||
org.lwjgl.opengl.ARBShadingLanguageInclude.glGetNamedStringARB(name, stringlen, string);
|
||||
}
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@ public class ARBSparseTexture {
|
||||
public static final int GL_VIRTUAL_PAGE_SIZE_Z_ARB = (int) 37271;
|
||||
|
||||
public static void glTexPageCommitmentARB(int target, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, boolean commit) {
|
||||
int height, int depth, boolean commit) {
|
||||
org.lwjgl.opengl.ARBSparseTexture
|
||||
.glTexPageCommitmentARB(target, level, xoffset, yoffset, zoffset, width, height, depth, commit);
|
||||
.glTexPageCommitmentARB(target, level, xoffset, yoffset, zoffset, width, height, depth, commit);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,9 +11,9 @@ public class ARBTextureBufferRange {
|
||||
}
|
||||
|
||||
public static void glTextureBufferRangeEXT(int texture, int target, int internalformat, int buffer, long offset,
|
||||
long size) {
|
||||
long size) {
|
||||
org.lwjgl.opengl.ARBTextureBufferRange
|
||||
.glTextureBufferRangeEXT(texture, target, internalformat, buffer, offset, size);
|
||||
.glTextureBufferRangeEXT(texture, target, internalformat, buffer, offset, size);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -15,111 +15,105 @@ public class ARBTextureCompression {
|
||||
public static final int GL_TEXTURE_COMPRESSION_HINT_ARB = (int) 34031;
|
||||
|
||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border,
|
||||
int pData_imageSize, long pData_buffer_offset) {
|
||||
int pData_imageSize, long pData_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBTextureCompression.glCompressedTexImage1DARB(
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
border,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
border,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height,
|
||||
int border, int pData_imageSize, long pData_buffer_offset) {
|
||||
int border, int pData_imageSize, long pData_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBTextureCompression.glCompressedTexImage2DARB(
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
border,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
border,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height,
|
||||
int depth, int border, int pData_imageSize, long pData_buffer_offset) {
|
||||
int depth, int border, int pData_imageSize, long pData_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBTextureCompression.glCompressedTexImage3DARB(
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
border,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
border,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format,
|
||||
int pData_imageSize, long pData_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBTextureCompression.glCompressedTexSubImage1DARB(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
width,
|
||||
format,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format,
|
||||
java.nio.ByteBuffer pData) {
|
||||
int pData_imageSize, long pData_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBTextureCompression
|
||||
.glCompressedTexSubImage1DARB(target, level, xoffset, width, format, pData);
|
||||
.glCompressedTexSubImage1DARB(target, level, xoffset, width, format, pData_imageSize, pData_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format,
|
||||
java.nio.ByteBuffer pData) {
|
||||
org.lwjgl.opengl.ARBTextureCompression
|
||||
.glCompressedTexSubImage1DARB(target, level, xoffset, width, format, pData);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width,
|
||||
int height, int format, int pData_imageSize, long pData_buffer_offset) {
|
||||
int height, int format, int pData_imageSize, long pData_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBTextureCompression.glCompressedTexSubImage2DARB(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width,
|
||||
int height, int format, java.nio.ByteBuffer pData) {
|
||||
int height, int format, java.nio.ByteBuffer pData) {
|
||||
org.lwjgl.opengl.ARBTextureCompression
|
||||
.glCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, pData);
|
||||
.glCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, pData);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int format, int pData_imageSize, long pData_buffer_offset) {
|
||||
int width, int height, int depth, int format, int pData_imageSize, long pData_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBTextureCompression.glCompressedTexSubImage3DARB(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
pData_imageSize,
|
||||
pData_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int format, java.nio.ByteBuffer pData) {
|
||||
int width, int height, int depth, int format, java.nio.ByteBuffer pData) {
|
||||
org.lwjgl.opengl.ARBTextureCompression.glCompressedTexSubImage3DARB(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
pData);
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
pData);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTexImageARB(int target, int lod, long pImg_buffer_offset) {
|
||||
|
||||
@@ -29,15 +29,15 @@ public class ARBTextureMultisample {
|
||||
}
|
||||
|
||||
public static void glTexImage2DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
boolean fixedsamplelocations) {
|
||||
boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBTextureMultisample
|
||||
.glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
.glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTexImage3DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBTextureMultisample
|
||||
.glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
.glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -21,15 +21,15 @@ public class ARBTextureStorage {
|
||||
}
|
||||
|
||||
public static void glTextureStorage2DEXT(int texture, int target, int levels, int internalformat, int width,
|
||||
int height) {
|
||||
int height) {
|
||||
org.lwjgl.opengl.ARBTextureStorage
|
||||
.glTextureStorage2DEXT(texture, target, levels, internalformat, width, height);
|
||||
.glTextureStorage2DEXT(texture, target, levels, internalformat, width, height);
|
||||
}
|
||||
|
||||
public static void glTextureStorage3DEXT(int texture, int target, int levels, int internalformat, int width,
|
||||
int height, int depth) {
|
||||
int height, int depth) {
|
||||
org.lwjgl.opengl.ARBTextureStorage
|
||||
.glTextureStorage3DEXT(texture, target, levels, internalformat, width, height, depth);
|
||||
.glTextureStorage3DEXT(texture, target, levels, internalformat, width, height, depth);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -3,40 +3,40 @@ package org.lwjglx.opengl;
|
||||
public class ARBTextureStorageMultisample {
|
||||
|
||||
public static void glTexStorage2DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
boolean fixedsamplelocations) {
|
||||
boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBTextureStorageMultisample
|
||||
.glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
.glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTexStorage3DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBTextureStorageMultisample
|
||||
.glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
.glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTextureStorage2DMultisampleEXT(int texture, int target, int samples, int internalformat,
|
||||
int width, int height, boolean fixedsamplelocations) {
|
||||
int width, int height, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBTextureStorageMultisample.glTextureStorage2DMultisampleEXT(
|
||||
texture,
|
||||
target,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
fixedsamplelocations);
|
||||
texture,
|
||||
target,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTextureStorage3DMultisampleEXT(int texture, int target, int samples, int internalformat,
|
||||
int width, int height, int depth, boolean fixedsamplelocations) {
|
||||
int width, int height, int depth, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.ARBTextureStorageMultisample.glTextureStorage3DMultisampleEXT(
|
||||
texture,
|
||||
target,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
fixedsamplelocations);
|
||||
texture,
|
||||
target,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
fixedsamplelocations);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -9,9 +9,9 @@ public class ARBTextureView {
|
||||
public static final int GL_TEXTURE_VIEW_NUM_LEVELS = (int) 33500;
|
||||
|
||||
public static void glTextureView(int texture, int target, int origtexture, int internalformat, int minlevel,
|
||||
int numlevels, int minlayer, int numlayers) {
|
||||
int numlevels, int minlayer, int numlayers) {
|
||||
org.lwjgl.opengl.ARBTextureView
|
||||
.glTextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers);
|
||||
.glTextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,7 +8,7 @@ public class ARBTransformFeedbackInstanced {
|
||||
|
||||
public static void glDrawTransformFeedbackStreamInstanced(int mode, int id, int stream, int primcount) {
|
||||
org.lwjgl.opengl.ARBTransformFeedbackInstanced
|
||||
.glDrawTransformFeedbackStreamInstanced(mode, id, stream, primcount);
|
||||
.glDrawTransformFeedbackStreamInstanced(mode, id, stream, primcount);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -49,9 +49,9 @@ public class ARBUniformBufferObject {
|
||||
}
|
||||
|
||||
public static void glGetActiveUniformBlockName(int program, int uniformBlockIndex, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer uniformBlockName) {
|
||||
java.nio.ByteBuffer uniformBlockName) {
|
||||
org.lwjgl.opengl.ARBUniformBufferObject
|
||||
.glGetActiveUniformBlockName(program, uniformBlockIndex, length, uniformBlockName);
|
||||
.glGetActiveUniformBlockName(program, uniformBlockIndex, length, uniformBlockName);
|
||||
}
|
||||
|
||||
public static int glGetActiveUniformBlocki(int program, int uniformBlockIndex, int pname) {
|
||||
@@ -63,7 +63,7 @@ public class ARBUniformBufferObject {
|
||||
}
|
||||
|
||||
public static void glGetActiveUniformName(int program, int uniformIndex, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer uniformName) {
|
||||
java.nio.ByteBuffer uniformName) {
|
||||
org.lwjgl.opengl.ARBUniformBufferObject.glGetActiveUniformName(program, uniformIndex, length, uniformName);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ public class ARBUniformBufferObject {
|
||||
}
|
||||
|
||||
public static void glGetUniformIndices(int program, java.lang.CharSequence[] uniformNames,
|
||||
java.nio.IntBuffer uniformIndices) {
|
||||
java.nio.IntBuffer uniformIndices) {
|
||||
org.lwjgl.opengl.ARBUniformBufferObject.glGetUniformIndices(program, uniformNames, uniformIndices);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ public class ARBVertexAttribBinding {
|
||||
}
|
||||
|
||||
public static void glVertexAttribFormat(int attribindex, int size, int type, boolean normalized,
|
||||
int relativeoffset) {
|
||||
int relativeoffset) {
|
||||
org.lwjgl.opengl.ARBVertexAttribBinding
|
||||
.glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset);
|
||||
.glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset);
|
||||
}
|
||||
|
||||
public static void glVertexAttribIFormat(int attribindex, int size, int type, int relativeoffset) {
|
||||
|
||||
@@ -76,10 +76,10 @@ public class ARBVertexBlend {
|
||||
public static void glWeightPointerARB(int size, int stride, java.nio.DoubleBuffer pPointer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexBlend.glWeightPointerARB(
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pPointer));
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pPointer));
|
||||
|
||||
}
|
||||
|
||||
@@ -92,30 +92,30 @@ public class ARBVertexBlend {
|
||||
public static void glWeightPointerARB(int size, boolean unsigned, int stride, java.nio.ByteBuffer pPointer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexBlend.glWeightPointerARB(
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
|
||||
}
|
||||
|
||||
public static void glWeightPointerARB(int size, boolean unsigned, int stride, java.nio.IntBuffer pPointer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexBlend.glWeightPointerARB(
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_INT : org.lwjgl.opengl.GL11.GL_INT),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_INT : org.lwjgl.opengl.GL11.GL_INT),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
|
||||
}
|
||||
|
||||
public static void glWeightPointerARB(int size, boolean unsigned, int stride, java.nio.ShortBuffer pPointer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexBlend.glWeightPointerARB(
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_SHORT : org.lwjgl.opengl.GL11.GL_SHORT),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_SHORT : org.lwjgl.opengl.GL11.GL_SHORT),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -80,9 +80,9 @@ public class ARBVertexProgram extends org.lwjgl.opengl.ARBProgram {
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride,
|
||||
long buffer_buffer_offset) {
|
||||
long buffer_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBVertexProgram
|
||||
.glVertexAttribPointerARB(index, size, type, normalized, stride, buffer_buffer_offset);
|
||||
.glVertexAttribPointerARB(index, size, type, normalized, stride, buffer_buffer_offset);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -45,7 +45,7 @@ public class ARBVertexShader {
|
||||
}
|
||||
|
||||
public static void glGetActiveAttribARB(int programObj, int index, java.nio.IntBuffer length,
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.ARBVertexShader.glGetActiveAttribARB(programObj, index, length, size, type, name);
|
||||
}
|
||||
|
||||
@@ -122,73 +122,73 @@ public class ARBVertexShader {
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride,
|
||||
long buffer_buffer_offset) {
|
||||
long buffer_buffer_offset) {
|
||||
org.lwjgl.opengl.ARBVertexShader
|
||||
.glVertexAttribPointerARB(index, size, type, normalized, stride, buffer_buffer_offset);
|
||||
.glVertexAttribPointerARB(index, size, type, normalized, stride, buffer_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride,
|
||||
java.nio.ByteBuffer buffer) {
|
||||
java.nio.ByteBuffer buffer) {
|
||||
org.lwjgl.opengl.ARBVertexShader.glVertexAttribPointerARB(index, size, type, normalized, stride, buffer);
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, boolean normalized, int stride,
|
||||
java.nio.DoubleBuffer buffer) {
|
||||
java.nio.DoubleBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexShader.glVertexAttribPointerARB(
|
||||
index,
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
normalized,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(buffer));
|
||||
index,
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
normalized,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(buffer));
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, boolean normalized, int stride,
|
||||
java.nio.FloatBuffer buffer) {
|
||||
java.nio.FloatBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexShader
|
||||
.glVertexAttribPointerARB(index, size, org.lwjgl.opengl.GL11.GL_FLOAT, normalized, stride, buffer);
|
||||
.glVertexAttribPointerARB(index, size, org.lwjgl.opengl.GL11.GL_FLOAT, normalized, stride, buffer);
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, boolean unsigned, boolean normalized, int stride,
|
||||
java.nio.ByteBuffer buffer) {
|
||||
java.nio.ByteBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexShader.glVertexAttribPointerARB(
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, boolean unsigned, boolean normalized, int stride,
|
||||
java.nio.IntBuffer buffer) {
|
||||
java.nio.IntBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexShader.glVertexAttribPointerARB(
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_INT : org.lwjgl.opengl.GL11.GL_INT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_INT : org.lwjgl.opengl.GL11.GL_INT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointerARB(int index, int size, boolean unsigned, boolean normalized, int stride,
|
||||
java.nio.ShortBuffer buffer) {
|
||||
java.nio.ShortBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.ARBVertexShader.glVertexAttribPointerARB(
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_SHORT : org.lwjgl.opengl.GL11.GL_SHORT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_SHORT : org.lwjgl.opengl.GL11.GL_SHORT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class EXTBlendFuncSeparate {
|
||||
|
||||
public static void glBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha) {
|
||||
org.lwjgl.opengl.EXTBlendFuncSeparate
|
||||
.glBlendFuncSeparateEXT(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
|
||||
.glBlendFuncSeparateEXT(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -7,9 +7,9 @@ public class EXTDrawInstanced {
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedEXT(int mode, int indices_count, int type, long indices_buffer_offset,
|
||||
int primcount) {
|
||||
int primcount) {
|
||||
org.lwjgl.opengl.EXTDrawInstanced
|
||||
.glDrawElementsInstancedEXT(mode, indices_count, type, indices_buffer_offset, primcount);
|
||||
.glDrawElementsInstancedEXT(mode, indices_count, type, indices_buffer_offset, primcount);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedEXT(int mode, java.nio.ByteBuffer indices, int primcount) {
|
||||
|
||||
@@ -8,9 +8,9 @@ public class EXTFramebufferBlit {
|
||||
public static final int GL_READ_FRAMEBUFFER_EXT = (int) 36008;
|
||||
|
||||
public static void glBlitFramebufferEXT(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1,
|
||||
int dstY1, int mask, int filter) {
|
||||
int dstY1, int mask, int filter) {
|
||||
org.lwjgl.opengl.EXTFramebufferBlit
|
||||
.glBlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||
.glBlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -7,9 +7,9 @@ public class EXTFramebufferMultisample {
|
||||
public static final int GL_RENDERBUFFER_SAMPLES_EXT = (int) 36011;
|
||||
|
||||
public static void glRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width,
|
||||
int height) {
|
||||
int height) {
|
||||
org.lwjgl.opengl.EXTFramebufferMultisample
|
||||
.glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height);
|
||||
.glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -83,9 +83,9 @@ public class EXTFramebufferObject {
|
||||
}
|
||||
|
||||
public static void glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget,
|
||||
int renderbuffer) {
|
||||
int renderbuffer) {
|
||||
org.lwjgl.opengl.EXTFramebufferObject
|
||||
.glFramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer);
|
||||
.glFramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer);
|
||||
}
|
||||
|
||||
public static void glFramebufferTexture1DEXT(int target, int attachment, int textarget, int texture, int level) {
|
||||
@@ -97,9 +97,9 @@ public class EXTFramebufferObject {
|
||||
}
|
||||
|
||||
public static void glFramebufferTexture3DEXT(int target, int attachment, int textarget, int texture, int level,
|
||||
int zoffset) {
|
||||
int zoffset) {
|
||||
org.lwjgl.opengl.EXTFramebufferObject
|
||||
.glFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset);
|
||||
.glFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset);
|
||||
}
|
||||
|
||||
public static int glGenFramebuffersEXT() {
|
||||
@@ -123,9 +123,9 @@ public class EXTFramebufferObject {
|
||||
}
|
||||
|
||||
public static void glGetFramebufferAttachmentParameterEXT(int target, int attachment, int pname,
|
||||
java.nio.IntBuffer params) {
|
||||
java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.EXTFramebufferObject
|
||||
.glGetFramebufferAttachmentParameterivEXT(target, attachment, pname, params);
|
||||
.glGetFramebufferAttachmentParameterivEXT(target, attachment, pname, params);
|
||||
}
|
||||
|
||||
public static int glGetFramebufferAttachmentParameteriEXT(int target, int attachment, int pname) {
|
||||
|
||||
@@ -33,28 +33,28 @@ public class EXTSecondaryColor {
|
||||
public static void glSecondaryColorPointerEXT(int size, int stride, java.nio.DoubleBuffer pPointer) {
|
||||
|
||||
org.lwjgl.opengl.EXTSecondaryColor.glSecondaryColorPointerEXT(
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pPointer));
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pPointer));
|
||||
|
||||
}
|
||||
|
||||
public static void glSecondaryColorPointerEXT(int size, int stride, java.nio.FloatBuffer pPointer) {
|
||||
|
||||
org.lwjgl.opengl.EXTSecondaryColor
|
||||
.glSecondaryColorPointerEXT(size, org.lwjgl.opengl.GL11.GL_FLOAT, stride, pPointer);
|
||||
.glSecondaryColorPointerEXT(size, org.lwjgl.opengl.GL11.GL_FLOAT, stride, pPointer);
|
||||
|
||||
}
|
||||
|
||||
public static void glSecondaryColorPointerEXT(int size, boolean unsigned, int stride,
|
||||
java.nio.ByteBuffer pPointer) {
|
||||
java.nio.ByteBuffer pPointer) {
|
||||
|
||||
org.lwjgl.opengl.EXTSecondaryColor.glSecondaryColorPointerEXT(
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pPointer));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -59,9 +59,9 @@ public class EXTShaderImageLoadStore {
|
||||
public static final int GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT = (int) 1;
|
||||
|
||||
public static void glBindImageTextureEXT(int index, int texture, int level, boolean layered, int layer, int access,
|
||||
int format) {
|
||||
int format) {
|
||||
org.lwjgl.opengl.EXTShaderImageLoadStore
|
||||
.glBindImageTextureEXT(index, texture, level, layered, layer, access, format);
|
||||
.glBindImageTextureEXT(index, texture, level, layered, layer, access, format);
|
||||
}
|
||||
|
||||
public static void glMemoryBarrierEXT(int barriers) {
|
||||
|
||||
@@ -39,15 +39,15 @@ public class EXTTransformFeedback {
|
||||
}
|
||||
|
||||
public static java.lang.String glGetTransformFeedbackVaryingEXT(int program, int index, int bufSize,
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type) {
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type) {
|
||||
return org.lwjgl.opengl.EXTTransformFeedback
|
||||
.glGetTransformFeedbackVaryingEXT(program, index, bufSize, size, type);
|
||||
.glGetTransformFeedbackVaryingEXT(program, index, bufSize, size, type);
|
||||
}
|
||||
|
||||
public static void glGetTransformFeedbackVaryingEXT(int program, int index, java.nio.IntBuffer length,
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.EXTTransformFeedback
|
||||
.glGetTransformFeedbackVaryingEXT(program, index, length, size, type, name);
|
||||
.glGetTransformFeedbackVaryingEXT(program, index, length, size, type, name);
|
||||
}
|
||||
|
||||
public static void glTransformFeedbackVaryingsEXT(int program, java.lang.CharSequence[] varyings, int bufferMode) {
|
||||
|
||||
@@ -20,9 +20,9 @@ public class EXTVertexAttrib64bit {
|
||||
}
|
||||
|
||||
public static void glVertexArrayVertexAttribLOffsetEXT(int vaobj, int buffer, int index, int size, int type,
|
||||
int stride, long offset) {
|
||||
int stride, long offset) {
|
||||
org.lwjgl.opengl.EXTVertexAttrib64bit
|
||||
.glVertexArrayVertexAttribLOffsetEXT(vaobj, buffer, index, size, type, stride, offset);
|
||||
.glVertexArrayVertexAttribLOffsetEXT(vaobj, buffer, index, size, type, stride, offset);
|
||||
}
|
||||
|
||||
public static void glVertexAttribL1EXT(int index, java.nio.DoubleBuffer v) {
|
||||
|
||||
@@ -560,12 +560,12 @@ public class GL11 {
|
||||
}
|
||||
|
||||
public static void glBitmap(int width, int height, float xorig, float yorig, float xmove, float ymove,
|
||||
long bitmap_buffer_offset) {
|
||||
long bitmap_buffer_offset) {
|
||||
org.lwjgl.opengl.GL11.glBitmap(width, height, xorig, yorig, xmove, ymove, bitmap_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glBitmap(int width, int height, float xorig, float yorig, float xmove, float ymove,
|
||||
java.nio.ByteBuffer bitmap) {
|
||||
java.nio.ByteBuffer bitmap) {
|
||||
org.lwjgl.opengl.GL11.glBitmap(width, height, xorig, yorig, xmove, ymove, bitmap);
|
||||
}
|
||||
|
||||
@@ -664,10 +664,10 @@ public class GL11 {
|
||||
public static void glColorPointer(int size, int stride, java.nio.DoubleBuffer pointer) {
|
||||
|
||||
org.lwjgl.opengl.GL11.glColorPointer(
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
|
||||
}
|
||||
|
||||
@@ -680,10 +680,10 @@ public class GL11 {
|
||||
public static void glColorPointer(int size, boolean unsigned, int stride, java.nio.ByteBuffer pointer) {
|
||||
|
||||
org.lwjgl.opengl.GL11.glColorPointer(
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pointer));
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(pointer));
|
||||
|
||||
}
|
||||
|
||||
@@ -692,12 +692,12 @@ public class GL11 {
|
||||
}
|
||||
|
||||
public static void glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width,
|
||||
int border) {
|
||||
int border) {
|
||||
org.lwjgl.opengl.GL11.glCopyTexImage1D(target, level, internalFormat, x, y, width, border);
|
||||
}
|
||||
|
||||
public static void glCopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height,
|
||||
int border) {
|
||||
int border) {
|
||||
org.lwjgl.opengl.GL11.glCopyTexImage2D(target, level, internalFormat, x, y, width, height, border);
|
||||
}
|
||||
|
||||
@@ -706,7 +706,7 @@ public class GL11 {
|
||||
}
|
||||
|
||||
public static void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width,
|
||||
int height) {
|
||||
int height) {
|
||||
org.lwjgl.opengl.GL11.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
|
||||
}
|
||||
|
||||
@@ -1217,12 +1217,12 @@ public class GL11 {
|
||||
}
|
||||
|
||||
public static void glMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2,
|
||||
int vstride, int vorder, java.nio.DoubleBuffer points) {
|
||||
int vstride, int vorder, java.nio.DoubleBuffer points) {
|
||||
org.lwjgl.opengl.GL11.glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
|
||||
}
|
||||
|
||||
public static void glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride,
|
||||
int vorder, java.nio.FloatBuffer points) {
|
||||
int vorder, java.nio.FloatBuffer points) {
|
||||
org.lwjgl.opengl.GL11.glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
|
||||
}
|
||||
|
||||
@@ -1307,9 +1307,9 @@ public class GL11 {
|
||||
public static void glNormalPointer(int stride, java.nio.DoubleBuffer pointer) {
|
||||
|
||||
org.lwjgl.opengl.GL11.glNormalPointer(
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
|
||||
}
|
||||
|
||||
@@ -1474,34 +1474,34 @@ public class GL11 {
|
||||
}
|
||||
|
||||
public static void glReadPixels(int x, int y, int width, int height, int format, int type,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL11.glReadPixels(x, y, width, height, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glReadPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.ByteBuffer pixels) {
|
||||
java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glReadPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glReadPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
|
||||
org.lwjgl.opengl.GL11.glReadPixels(x, y, width, height, format, type, org.lwjglx.MemoryUtil.getAddress(pixels));
|
||||
|
||||
}
|
||||
|
||||
public static void glReadPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.FloatBuffer pixels) {
|
||||
java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glReadPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glReadPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.IntBuffer pixels) {
|
||||
java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glReadPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glReadPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.ShortBuffer pixels) {
|
||||
java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glReadPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
@@ -1604,10 +1604,10 @@ public class GL11 {
|
||||
public static void glTexCoordPointer(int size, int stride, java.nio.DoubleBuffer pointer) {
|
||||
|
||||
org.lwjgl.opengl.GL11.glTexCoordPointer(
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
|
||||
}
|
||||
|
||||
@@ -1670,64 +1670,64 @@ public class GL11 {
|
||||
}
|
||||
|
||||
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format,
|
||||
int type, long pixels_buffer_offset) {
|
||||
int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL11
|
||||
.glTexImage1D(target, level, internalformat, width, border, format, type, pixels_buffer_offset);
|
||||
.glTexImage1D(target, level, internalformat, width, border, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format,
|
||||
int type, java.nio.ByteBuffer pixels) {
|
||||
int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage1D(target, level, internalformat, width, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format,
|
||||
int type, java.nio.DoubleBuffer pixels) {
|
||||
int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage1D(target, level, internalformat, width, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format,
|
||||
int type, java.nio.FloatBuffer pixels) {
|
||||
int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage1D(target, level, internalformat, width, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format,
|
||||
int type, java.nio.IntBuffer pixels) {
|
||||
int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage1D(target, level, internalformat, width, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format,
|
||||
int type, java.nio.ShortBuffer pixels) {
|
||||
int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage1D(target, level, internalformat, width, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border,
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL11
|
||||
.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels_buffer_offset);
|
||||
.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border,
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border,
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border,
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border,
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border,
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
|
||||
}
|
||||
|
||||
@@ -1748,63 +1748,63 @@ public class GL11 {
|
||||
}
|
||||
|
||||
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage1D(target, level, xoffset, width, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.ByteBuffer pixels) {
|
||||
java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage1D(target, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage1D(target, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.FloatBuffer pixels) {
|
||||
java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage1D(target, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.IntBuffer pixels) {
|
||||
java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage1D(target, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.ShortBuffer pixels) {
|
||||
java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage1D(target, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL11
|
||||
.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels_buffer_offset);
|
||||
.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
@@ -1863,10 +1863,10 @@ public class GL11 {
|
||||
public static void glVertexPointer(int size, int stride, java.nio.DoubleBuffer pointer) {
|
||||
|
||||
org.lwjgl.opengl.GL11.glVertexPointer(
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(pointer));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -45,12 +45,12 @@ public class GL12 {
|
||||
public static final int GL_UNSIGNED_SHORT_5_6_5_REV = (int) 33636;
|
||||
|
||||
public static void glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y,
|
||||
int width, int height) {
|
||||
int width, int height) {
|
||||
org.lwjgl.opengl.GL12.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElements(int mode, int start, int end, int indices_count, int type,
|
||||
long indices_buffer_offset) {
|
||||
long indices_buffer_offset) {
|
||||
org.lwjgl.opengl.GL12.glDrawRangeElements(mode, start, end, indices_count, type, indices_buffer_offset);
|
||||
}
|
||||
|
||||
@@ -67,94 +67,94 @@ public class GL12 {
|
||||
}
|
||||
|
||||
public static void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth,
|
||||
int border, int format, int type, long pixels_buffer_offset) {
|
||||
int border, int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL12.glTexImage3D(
|
||||
target,
|
||||
level,
|
||||
internalFormat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
border,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
internalFormat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
border,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth,
|
||||
int border, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int border, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth,
|
||||
int border, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int border, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth,
|
||||
int border, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int border, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth,
|
||||
int border, int format, int type, java.nio.IntBuffer pixels) {
|
||||
int border, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth,
|
||||
int border, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int border, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
.glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, long pixels_buffer_offset) {
|
||||
int height, int depth, int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL12.glTexSubImage3D(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL12
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -108,118 +108,103 @@ public class GL13 {
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border,
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexImage1D(
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
border,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL13
|
||||
.glCompressedTexImage1D(target, level, internalformat, width, border, data_imageSize, data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexImage1D(target, level, internalformat, width, border, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height,
|
||||
int border, int data_imageSize, long data_buffer_offset) {
|
||||
int border, int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexImage2D(
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
border,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
border,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height,
|
||||
int border, java.nio.ByteBuffer data) {
|
||||
int border, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexImage2D(target, level, internalformat, width, height, border, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height,
|
||||
int depth, int border, int data_imageSize, long data_buffer_offset) {
|
||||
int depth, int border, int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexImage3D(
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
border,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
border,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height,
|
||||
int depth, int border, java.nio.ByteBuffer data) {
|
||||
int depth, int border, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format,
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL13
|
||||
.glCompressedTexSubImage1D(target, level, xoffset, width, format, data_imageSize, data_buffer_offset);
|
||||
.glCompressedTexSubImage1D(target, level, xoffset, width, format, data_imageSize, data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexSubImage1D(target, level, xoffset, width, format, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int data_imageSize, long data_buffer_offset) {
|
||||
int format, int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexSubImage2D(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, java.nio.ByteBuffer data) {
|
||||
int format, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int format, int data_imageSize, long data_buffer_offset) {
|
||||
int width, int height, int depth, int format, int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexSubImage3D(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int format, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL13.glCompressedTexSubImage3D(
|
||||
target,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
data);
|
||||
int width, int height, int depth, int format, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL13
|
||||
.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, data);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTexImage(int target, int lod, long img_buffer_offset) {
|
||||
|
||||
@@ -68,9 +68,9 @@ public class GL14 {
|
||||
public static void glFogCoordPointer(int stride, java.nio.DoubleBuffer data) {
|
||||
|
||||
org.lwjgl.opengl.GL14.glFogCoordPointer(
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(data));
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(data));
|
||||
|
||||
}
|
||||
|
||||
@@ -131,10 +131,10 @@ public class GL14 {
|
||||
public static void glSecondaryColorPointer(int size, int stride, java.nio.DoubleBuffer data) {
|
||||
|
||||
org.lwjgl.opengl.GL14.glSecondaryColorPointer(
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(data));
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(data));
|
||||
|
||||
}
|
||||
|
||||
@@ -147,10 +147,10 @@ public class GL14 {
|
||||
public static void glSecondaryColorPointer(int size, boolean unsigned, int stride, java.nio.ByteBuffer data) {
|
||||
|
||||
org.lwjgl.opengl.GL14.glSecondaryColorPointer(
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(data));
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(data));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -145,12 +145,12 @@ public class GL20 {
|
||||
}
|
||||
|
||||
public static void glGetActiveAttrib(int program, int index, java.nio.IntBuffer length, java.nio.IntBuffer size,
|
||||
java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.GL20.glGetActiveAttrib(program, index, length, size, type, name);
|
||||
}
|
||||
|
||||
public static void glGetActiveUniform(int program, int index, java.nio.IntBuffer length, java.nio.IntBuffer size,
|
||||
java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.GL20.glGetActiveUniform(program, index, length, size, type, name);
|
||||
}
|
||||
|
||||
@@ -409,72 +409,72 @@ public class GL20 {
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride,
|
||||
long buffer_buffer_offset) {
|
||||
long buffer_buffer_offset) {
|
||||
org.lwjgl.opengl.GL20.glVertexAttribPointer(index, size, type, normalized, stride, buffer_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride,
|
||||
java.nio.ByteBuffer buffer) {
|
||||
java.nio.ByteBuffer buffer) {
|
||||
org.lwjgl.opengl.GL20.glVertexAttribPointer(index, size, type, normalized, stride, buffer);
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, boolean normalized, int stride,
|
||||
java.nio.DoubleBuffer buffer) {
|
||||
java.nio.DoubleBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.GL20.glVertexAttribPointer(
|
||||
index,
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
normalized,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(buffer));
|
||||
index,
|
||||
size,
|
||||
org.lwjgl.opengl.GL11.GL_DOUBLE,
|
||||
normalized,
|
||||
stride,
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(buffer));
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, boolean normalized, int stride,
|
||||
java.nio.FloatBuffer buffer) {
|
||||
java.nio.FloatBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.GL20
|
||||
.glVertexAttribPointer(index, size, org.lwjgl.opengl.GL11.GL_FLOAT, normalized, stride, buffer);
|
||||
.glVertexAttribPointer(index, size, org.lwjgl.opengl.GL11.GL_FLOAT, normalized, stride, buffer);
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, boolean unsigned, boolean normalized, int stride,
|
||||
java.nio.ByteBuffer buffer) {
|
||||
java.nio.ByteBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.GL20.glVertexAttribPointer(
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_BYTE : org.lwjgl.opengl.GL11.GL_BYTE),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, boolean unsigned, boolean normalized, int stride,
|
||||
java.nio.IntBuffer buffer) {
|
||||
java.nio.IntBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.GL20.glVertexAttribPointer(
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_INT : org.lwjgl.opengl.GL11.GL_INT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_INT : org.lwjgl.opengl.GL11.GL_INT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
|
||||
}
|
||||
|
||||
public static void glVertexAttribPointer(int index, int size, boolean unsigned, boolean normalized, int stride,
|
||||
java.nio.ShortBuffer buffer) {
|
||||
java.nio.ShortBuffer buffer) {
|
||||
|
||||
org.lwjgl.opengl.GL20.glVertexAttribPointer(
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_SHORT : org.lwjgl.opengl.GL11.GL_SHORT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
index,
|
||||
size,
|
||||
(unsigned ? org.lwjgl.opengl.GL11.GL_UNSIGNED_SHORT : org.lwjgl.opengl.GL11.GL_SHORT),
|
||||
normalized,
|
||||
stride,
|
||||
org.lwjglx.MemoryUtil.getAddress(buffer));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -279,7 +279,7 @@ public class GL30 {
|
||||
}
|
||||
|
||||
public static void glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1,
|
||||
int dstY1, int mask, int filter) {
|
||||
int dstY1, int mask, int filter) {
|
||||
org.lwjgl.opengl.GL30.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||
}
|
||||
|
||||
@@ -368,7 +368,7 @@ public class GL30 {
|
||||
}
|
||||
|
||||
public static void glFramebufferTexture3D(int target, int attachment, int textarget, int texture, int level,
|
||||
int zoffset) {
|
||||
int zoffset) {
|
||||
org.lwjgl.opengl.GL30.glFramebufferTexture3D(target, attachment, textarget, texture, level, zoffset);
|
||||
}
|
||||
|
||||
@@ -417,7 +417,7 @@ public class GL30 {
|
||||
}
|
||||
|
||||
public static void glGetFramebufferAttachmentParameter(int target, int attachment, int pname,
|
||||
java.nio.IntBuffer params) {
|
||||
java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.GL30.glGetFramebufferAttachmentParameteriv(target, attachment, pname, params);
|
||||
}
|
||||
|
||||
@@ -458,12 +458,12 @@ public class GL30 {
|
||||
}
|
||||
|
||||
public static java.lang.String glGetTransformFeedbackVarying(int program, int index, int bufSize,
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type) {
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type) {
|
||||
return org.lwjgl.opengl.GL30.glGetTransformFeedbackVarying(program, index, bufSize, size, type);
|
||||
}
|
||||
|
||||
public static void glGetTransformFeedbackVarying(int program, int index, java.nio.IntBuffer length,
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.GL30.glGetTransformFeedbackVarying(program, index, length, size, type, name);
|
||||
}
|
||||
|
||||
@@ -496,7 +496,7 @@ public class GL30 {
|
||||
}
|
||||
|
||||
public static java.nio.ByteBuffer glMapBufferRange(int target, long offset, long length, int access,
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
return org.lwjgl.opengl.GL30.glMapBufferRange(target, offset, length, access, old_buffer);
|
||||
}
|
||||
|
||||
@@ -505,7 +505,7 @@ public class GL30 {
|
||||
}
|
||||
|
||||
public static void glRenderbufferStorageMultisample(int target, int samples, int internalformat, int width,
|
||||
int height) {
|
||||
int height) {
|
||||
org.lwjgl.opengl.GL30.glRenderbufferStorageMultisample(target, samples, internalformat, width, height);
|
||||
}
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ public class GL31 {
|
||||
public static final int GL_UNIFORM_TYPE = (int) 35383;
|
||||
|
||||
public static void glCopyBufferSubData(int readtarget, int writetarget, long readoffset, long writeoffset,
|
||||
long size) {
|
||||
long size) {
|
||||
org.lwjgl.opengl.GL31.glCopyBufferSubData(readtarget, writetarget, readoffset, writeoffset, size);
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ public class GL31 {
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstanced(int mode, int indices_count, int type, long indices_buffer_offset,
|
||||
int primcount) {
|
||||
int primcount) {
|
||||
org.lwjgl.opengl.GL31.glDrawElementsInstanced(mode, indices_count, type, indices_buffer_offset, primcount);
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ public class GL31 {
|
||||
}
|
||||
|
||||
public static void glGetActiveUniformBlock(int program, int uniformBlockIndex, int pname,
|
||||
java.nio.IntBuffer params) {
|
||||
java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.GL31.glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params);
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ public class GL31 {
|
||||
}
|
||||
|
||||
public static void glGetActiveUniformBlockName(int program, int uniformBlockIndex, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer uniformBlockName) {
|
||||
java.nio.ByteBuffer uniformBlockName) {
|
||||
org.lwjgl.opengl.GL31.glGetActiveUniformBlockName(program, uniformBlockIndex, length, uniformBlockName);
|
||||
}
|
||||
|
||||
@@ -115,12 +115,12 @@ public class GL31 {
|
||||
}
|
||||
|
||||
public static void glGetActiveUniformName(int program, int uniformIndex, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer uniformName) {
|
||||
java.nio.ByteBuffer uniformName) {
|
||||
org.lwjgl.opengl.GL31.glGetActiveUniformName(program, uniformIndex, length, uniformName);
|
||||
}
|
||||
|
||||
public static void glGetActiveUniforms(int program, java.nio.IntBuffer uniformIndices, int pname,
|
||||
java.nio.IntBuffer params) {
|
||||
java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.GL31.glGetActiveUniformsiv(program, uniformIndices, pname, params);
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ public class GL31 {
|
||||
}
|
||||
|
||||
public static void glGetUniformIndices(int program, java.lang.CharSequence[] uniformNames,
|
||||
java.nio.IntBuffer uniformIndices) {
|
||||
java.nio.IntBuffer uniformIndices) {
|
||||
org.lwjgl.opengl.GL31.glGetUniformIndices(program, uniformNames, uniformIndices);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ public class GL32 {
|
||||
public static final int GL_WAIT_FAILED = (int) 37149;
|
||||
|
||||
public static void glDrawElementsBaseVertex(int mode, int indices_count, int type, long indices_buffer_offset,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawElementsBaseVertex(mode, indices_count, type, indices_buffer_offset, basevertex);
|
||||
}
|
||||
|
||||
@@ -85,62 +85,51 @@ public class GL32 {
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, int indices_count, int type,
|
||||
long indices_buffer_offset, int primcount, int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawElementsInstancedBaseVertex(
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
basevertex);
|
||||
long indices_buffer_offset, int primcount, int basevertex) {
|
||||
org.lwjgl.opengl.GL32
|
||||
.glDrawElementsInstancedBaseVertex(mode, indices_count, type, indices_buffer_offset, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, java.nio.ByteBuffer indices, int primcount,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, java.nio.IntBuffer indices, int primcount,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertex(int mode, java.nio.ShortBuffer indices, int primcount,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, int indices_count, int type,
|
||||
long indices_buffer_offset, int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawRangeElementsBaseVertex(
|
||||
mode,
|
||||
start,
|
||||
end,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
basevertex);
|
||||
long indices_buffer_offset, int basevertex) {
|
||||
org.lwjgl.opengl.GL32
|
||||
.glDrawRangeElementsBaseVertex(mode, start, end, indices_count, type, indices_buffer_offset, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, java.nio.ByteBuffer indices,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, java.nio.IntBuffer indices,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex);
|
||||
}
|
||||
|
||||
public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, java.nio.ShortBuffer indices,
|
||||
int basevertex) {
|
||||
int basevertex) {
|
||||
org.lwjgl.opengl.GL32.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex);
|
||||
}
|
||||
|
||||
public static org.lwjglx.opengl.GLSync glFenceSync(int condition, int flags) {
|
||||
|
||||
org.lwjglx.opengl.GLSync returnValue = new org.lwjglx.opengl.GLSync(
|
||||
org.lwjgl.opengl.GL32.glFenceSync(condition, flags));
|
||||
org.lwjgl.opengl.GL32.glFenceSync(condition, flags));
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
@@ -182,15 +171,15 @@ public class GL32 {
|
||||
}
|
||||
|
||||
public static void glTexImage2DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
boolean fixedsamplelocations) {
|
||||
boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.GL32
|
||||
.glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
.glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTexImage3DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.GL32
|
||||
.glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
.glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -20,12 +20,12 @@ public class GL33 {
|
||||
public static final int GL_VERTEX_ATTRIB_ARRAY_DIVISOR = (int) 35070;
|
||||
|
||||
public static void glBindFragDataLocationIndexed(int program, int colorNumber, int index,
|
||||
java.lang.CharSequence name) {
|
||||
java.lang.CharSequence name) {
|
||||
org.lwjgl.opengl.GL33.glBindFragDataLocationIndexed(program, colorNumber, index, name);
|
||||
}
|
||||
|
||||
public static void glBindFragDataLocationIndexed(int program, int colorNumber, int index,
|
||||
java.nio.ByteBuffer name) {
|
||||
java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.GL33.glBindFragDataLocationIndexed(program, colorNumber, index, name);
|
||||
}
|
||||
|
||||
|
||||
@@ -164,22 +164,22 @@ public class GL40 {
|
||||
}
|
||||
|
||||
public static void glGetActiveSubroutineName(int program, int shadertype, int index, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer name) {
|
||||
java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.GL40.glGetActiveSubroutineName(program, shadertype, index, length, name);
|
||||
}
|
||||
|
||||
public static void glGetActiveSubroutineUniform(int program, int shadertype, int index, int pname,
|
||||
java.nio.IntBuffer values) {
|
||||
java.nio.IntBuffer values) {
|
||||
org.lwjgl.opengl.GL40.glGetActiveSubroutineUniformiv(program, shadertype, index, pname, values);
|
||||
}
|
||||
|
||||
public static java.lang.String glGetActiveSubroutineUniformName(int program, int shadertype, int index,
|
||||
int bufsize) {
|
||||
int bufsize) {
|
||||
return org.lwjgl.opengl.GL40.glGetActiveSubroutineUniformName(program, shadertype, index, bufsize);
|
||||
}
|
||||
|
||||
public static void glGetActiveSubroutineUniformName(int program, int shadertype, int index,
|
||||
java.nio.IntBuffer length, java.nio.ByteBuffer name) {
|
||||
java.nio.IntBuffer length, java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.GL40.glGetActiveSubroutineUniformName(program, shadertype, index, length, name);
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ public class GL41 {
|
||||
public static int glCreateShaderProgram(int type, java.nio.ByteBuffer string) {
|
||||
|
||||
int returnValue = org.lwjgl.opengl.GL41
|
||||
.glCreateShaderProgramv(type, me.eigenraven.lwjgl3ify.BufferCasts.bufferToCharSeq(string));
|
||||
.glCreateShaderProgramv(type, me.eigenraven.lwjgl3ify.BufferCasts.bufferToCharSeq(string));
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
@@ -98,7 +98,7 @@ public class GL41 {
|
||||
}
|
||||
|
||||
public static void glGetProgramBinary(int program, java.nio.IntBuffer length, java.nio.IntBuffer binaryFormat,
|
||||
java.nio.ByteBuffer binary) {
|
||||
java.nio.ByteBuffer binary) {
|
||||
org.lwjgl.opengl.GL41.glGetProgramBinary(program, length, binaryFormat, binary);
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ public class GL41 {
|
||||
}
|
||||
|
||||
public static void glGetProgramPipelineInfoLog(int pipeline, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer infoLog) {
|
||||
java.nio.ByteBuffer infoLog) {
|
||||
org.lwjgl.opengl.GL41.glGetProgramPipelineInfoLog(pipeline, length, infoLog);
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ public class GL41 {
|
||||
}
|
||||
|
||||
public static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, java.nio.IntBuffer range,
|
||||
java.nio.IntBuffer precision) {
|
||||
java.nio.IntBuffer precision) {
|
||||
org.lwjgl.opengl.GL41.glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
|
||||
}
|
||||
|
||||
@@ -269,92 +269,92 @@ public class GL41 {
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix2(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix2dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix2(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix2fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix2x3(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix2x3dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix2x3(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix2x3fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix2x4(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix2x4dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix2x4(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix2x4fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix3(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix3dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix3(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix3fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix3x2(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix3x2dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix3x2(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix3x2fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix3x4(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix3x4dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix3x4(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix3x4fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix4(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix4dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix4(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix4fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix4x2(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix4x2dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix4x2(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix4x2fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix4x3(int program, int location, boolean transpose,
|
||||
java.nio.DoubleBuffer value) {
|
||||
java.nio.DoubleBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix4x3dv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
public static void glProgramUniformMatrix4x3(int program, int location, boolean transpose,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL41.glProgramUniformMatrix4x3fv(program, location, transpose, value);
|
||||
}
|
||||
|
||||
|
||||
@@ -112,69 +112,69 @@ public class GL42 {
|
||||
public static final int IMAGE_FORMAT_COMPATIBILITY_BY_CLASS = (int) 37065;
|
||||
|
||||
public static void glBindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access,
|
||||
int format) {
|
||||
int format) {
|
||||
org.lwjgl.opengl.GL42.glBindImageTexture(unit, texture, level, layered, layer, access, format);
|
||||
}
|
||||
|
||||
public static void glDrawArraysInstancedBaseInstance(int mode, int first, int count, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.GL42.glDrawArraysInstancedBaseInstance(mode, first, count, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, int indices_count, int type,
|
||||
long indices_buffer_offset, int primcount, int baseinstance) {
|
||||
long indices_buffer_offset, int primcount, int baseinstance) {
|
||||
org.lwjgl.opengl.GL42.glDrawElementsInstancedBaseInstance(
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
baseinstance);
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.GL42.glDrawElementsInstancedBaseInstance(mode, indices, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.IntBuffer indices, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.GL42.glDrawElementsInstancedBaseInstance(mode, indices, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount,
|
||||
int baseinstance) {
|
||||
int baseinstance) {
|
||||
org.lwjgl.opengl.GL42.glDrawElementsInstancedBaseInstance(mode, indices, primcount, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int indices_count, int type,
|
||||
long indices_buffer_offset, int primcount, int basevertex, int baseinstance) {
|
||||
long indices_buffer_offset, int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.GL42.glDrawElementsInstancedBaseVertexBaseInstance(
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
basevertex,
|
||||
baseinstance);
|
||||
mode,
|
||||
indices_count,
|
||||
type,
|
||||
indices_buffer_offset,
|
||||
primcount,
|
||||
basevertex,
|
||||
baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ByteBuffer indices,
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.GL42
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.IntBuffer indices,
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.GL42
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ShortBuffer indices,
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
int primcount, int basevertex, int baseinstance) {
|
||||
org.lwjgl.opengl.GL42
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
.glDrawElementsInstancedBaseVertexBaseInstance(mode, indices, primcount, basevertex, baseinstance);
|
||||
}
|
||||
|
||||
public static void glDrawTransformFeedbackInstanced(int mode, int id, int primcount) {
|
||||
@@ -186,7 +186,7 @@ public class GL42 {
|
||||
}
|
||||
|
||||
public static void glGetActiveAtomicCounterBuffer(int program, int bufferIndex, int pname,
|
||||
java.nio.IntBuffer params) {
|
||||
java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.GL42.glGetActiveAtomicCounterBufferiv(program, bufferIndex, pname, params);
|
||||
}
|
||||
|
||||
|
||||
@@ -267,38 +267,38 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glClearBufferData(int target, int internalformat, int format, int type,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL43.glClearBufferData(target, internalformat, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format,
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL43.glClearBufferSubData(target, internalformat, offset, size, format, type, data);
|
||||
}
|
||||
|
||||
public static void glCopyImageSubData(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ,
|
||||
int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight,
|
||||
int srcDepth) {
|
||||
int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight,
|
||||
int srcDepth) {
|
||||
org.lwjgl.opengl.GL43.glCopyImageSubData(
|
||||
srcName,
|
||||
srcTarget,
|
||||
srcLevel,
|
||||
srcX,
|
||||
srcY,
|
||||
srcZ,
|
||||
dstName,
|
||||
dstTarget,
|
||||
dstLevel,
|
||||
dstX,
|
||||
dstY,
|
||||
dstZ,
|
||||
srcWidth,
|
||||
srcHeight,
|
||||
srcDepth);
|
||||
srcName,
|
||||
srcTarget,
|
||||
srcLevel,
|
||||
srcX,
|
||||
srcY,
|
||||
srcZ,
|
||||
dstName,
|
||||
dstTarget,
|
||||
dstLevel,
|
||||
dstX,
|
||||
dstY,
|
||||
dstZ,
|
||||
srcWidth,
|
||||
srcHeight,
|
||||
srcDepth);
|
||||
}
|
||||
|
||||
public static void glDebugMessageControl(int source, int type, int severity, java.nio.IntBuffer ids,
|
||||
boolean enabled) {
|
||||
boolean enabled) {
|
||||
org.lwjgl.opengl.GL43.glDebugMessageControl(source, type, severity, ids, enabled);
|
||||
}
|
||||
|
||||
@@ -323,8 +323,8 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static int glGetDebugMessageLog(int count, java.nio.IntBuffer sources, java.nio.IntBuffer types,
|
||||
java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths,
|
||||
java.nio.ByteBuffer messageLog) {
|
||||
java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths,
|
||||
java.nio.ByteBuffer messageLog) {
|
||||
return org.lwjgl.opengl.GL43.glGetDebugMessageLog(count, sources, types, ids, severities, lengths, messageLog);
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glGetObjectLabel(int identifier, int name, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer label) {
|
||||
java.nio.ByteBuffer label) {
|
||||
org.lwjgl.opengl.GL43.glGetObjectLabel(identifier, name, length, label);
|
||||
}
|
||||
|
||||
@@ -362,7 +362,7 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glGetProgramResource(int program, int programInterface, int index, java.nio.IntBuffer props,
|
||||
java.nio.IntBuffer length, java.nio.IntBuffer params) {
|
||||
java.nio.IntBuffer length, java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.GL43.glGetProgramResourceiv(program, programInterface, index, props, length, params);
|
||||
}
|
||||
|
||||
@@ -383,7 +383,7 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static int glGetProgramResourceLocationIndex(int program, int programInterface,
|
||||
java.lang.CharSequence name) {
|
||||
java.lang.CharSequence name) {
|
||||
return org.lwjgl.opengl.GL43.glGetProgramResourceLocationIndex(program, programInterface, name);
|
||||
}
|
||||
|
||||
@@ -396,7 +396,7 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glGetProgramResourceName(int program, int programInterface, int index, java.nio.IntBuffer length,
|
||||
java.nio.ByteBuffer name) {
|
||||
java.nio.ByteBuffer name) {
|
||||
org.lwjgl.opengl.GL43.glGetProgramResourceName(program, programInterface, index, length, name);
|
||||
}
|
||||
|
||||
@@ -413,7 +413,7 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glInvalidateSubFramebuffer(int target, java.nio.IntBuffer attachments, int x, int y, int width,
|
||||
int height) {
|
||||
int height) {
|
||||
org.lwjgl.opengl.GL43.glInvalidateSubFramebuffer(target, attachments, x, y, width, height);
|
||||
}
|
||||
|
||||
@@ -422,7 +422,7 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glInvalidateTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth) {
|
||||
int height, int depth) {
|
||||
org.lwjgl.opengl.GL43.glInvalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth);
|
||||
}
|
||||
|
||||
@@ -439,17 +439,17 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirect(int mode, int type, long indirect_buffer_offset, int primcount,
|
||||
int stride) {
|
||||
int stride) {
|
||||
org.lwjgl.opengl.GL43.glMultiDrawElementsIndirect(mode, type, indirect_buffer_offset, primcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirect(int mode, int type, java.nio.ByteBuffer indirect, int primcount,
|
||||
int stride) {
|
||||
int stride) {
|
||||
org.lwjgl.opengl.GL43.glMultiDrawElementsIndirect(mode, type, indirect, primcount, stride);
|
||||
}
|
||||
|
||||
public static void glMultiDrawElementsIndirect(int mode, int type, java.nio.IntBuffer indirect, int primcount,
|
||||
int stride) {
|
||||
int stride) {
|
||||
org.lwjgl.opengl.GL43.glMultiDrawElementsIndirect(mode, type, indirect, primcount, stride);
|
||||
}
|
||||
|
||||
@@ -482,21 +482,21 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glTexStorage2DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
boolean fixedsamplelocations) {
|
||||
boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.GL43
|
||||
.glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
.glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTexStorage3DMultisample(int target, int samples, int internalformat, int width, int height,
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
int depth, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.GL43
|
||||
.glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
.glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTextureView(int texture, int target, int origtexture, int internalformat, int minlevel,
|
||||
int numlevels, int minlayer, int numlayers) {
|
||||
int numlevels, int minlayer, int numlayers) {
|
||||
org.lwjgl.opengl.GL43
|
||||
.glTextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers);
|
||||
.glTextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers);
|
||||
}
|
||||
|
||||
public static void glVertexAttribBinding(int attribindex, int bindingindex) {
|
||||
@@ -504,7 +504,7 @@ public class GL43 {
|
||||
}
|
||||
|
||||
public static void glVertexAttribFormat(int attribindex, int size, int type, boolean normalized,
|
||||
int relativeoffset) {
|
||||
int relativeoffset) {
|
||||
org.lwjgl.opengl.GL43.glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset);
|
||||
}
|
||||
|
||||
|
||||
@@ -73,103 +73,53 @@ public class GL44 {
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL44.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL44
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer data) {
|
||||
org.lwjgl.opengl.GL44.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer data) {
|
||||
org.lwjgl.opengl.GL44
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer data) {
|
||||
org.lwjgl.opengl.GL44.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer data) {
|
||||
org.lwjgl.opengl.GL44
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer data) {
|
||||
org.lwjgl.opengl.GL44.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer data) {
|
||||
org.lwjgl.opengl.GL44
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.LongBuffer data) {
|
||||
int height, int depth, int format, int type, java.nio.LongBuffer data) {
|
||||
final java.nio.ByteBuffer wrappedArg10 = me.eigenraven.lwjgl3ify.BufferCasts.toByteBuffer(data);
|
||||
|
||||
org.lwjgl.opengl.GL44.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
wrappedArg10);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
wrappedArg10);
|
||||
me.eigenraven.lwjgl3ify.BufferCasts.updateBuffer(data, wrappedArg10);
|
||||
|
||||
}
|
||||
|
||||
public static void glClearTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer data) {
|
||||
org.lwjgl.opengl.GL44.glClearTexSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
data);
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer data) {
|
||||
org.lwjgl.opengl.GL44
|
||||
.glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -31,20 +31,20 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glBlitNamedFramebuffer(int readFramebuffer, int drawFramebuffer, int srcX0, int srcY0, int srcX1,
|
||||
int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {
|
||||
int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {
|
||||
org.lwjgl.opengl.GL45.glBlitNamedFramebuffer(
|
||||
readFramebuffer,
|
||||
drawFramebuffer,
|
||||
srcX0,
|
||||
srcY0,
|
||||
srcX1,
|
||||
srcY1,
|
||||
dstX0,
|
||||
dstY0,
|
||||
dstX1,
|
||||
dstY1,
|
||||
mask,
|
||||
filter);
|
||||
readFramebuffer,
|
||||
drawFramebuffer,
|
||||
srcX0,
|
||||
srcY0,
|
||||
srcX1,
|
||||
srcY1,
|
||||
dstX0,
|
||||
dstY0,
|
||||
dstX1,
|
||||
dstY1,
|
||||
mask,
|
||||
filter);
|
||||
}
|
||||
|
||||
public static int glCheckNamedFramebufferStatus(int framebuffer, int target) {
|
||||
@@ -52,17 +52,17 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL45.glClearNamedBufferData(buffer, internalformat, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format,
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
int type, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL45.glClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
|
||||
}
|
||||
|
||||
public static void glClearNamedFramebuffer(int framebuffer, int buffer, int drawbuffer,
|
||||
java.nio.FloatBuffer value) {
|
||||
java.nio.FloatBuffer value) {
|
||||
org.lwjgl.opengl.GL45.glClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value);
|
||||
}
|
||||
|
||||
@@ -79,78 +79,72 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format,
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glCompressedTextureSubImage1D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
width,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glCompressedTextureSubImage1D(texture, level, xoffset, width, format, data_imageSize, data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format,
|
||||
java.nio.ByteBuffer data) {
|
||||
java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL45.glCompressedTextureSubImage1D(texture, level, xoffset, width, format, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width,
|
||||
int height, int format, int data_imageSize, long data_buffer_offset) {
|
||||
int height, int format, int data_imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glCompressedTextureSubImage2D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
data_imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width,
|
||||
int height, int format, java.nio.ByteBuffer data) {
|
||||
int height, int format, java.nio.ByteBuffer data) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glCompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, data);
|
||||
.glCompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, data);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int format, int imageSize, long data_buffer_offset) {
|
||||
int width, int height, int depth, int format, int imageSize, long data_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glCompressedTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
imageSize,
|
||||
data_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
imageSize,
|
||||
data_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int format, int imageSize, java.nio.ByteBuffer data) {
|
||||
int width, int height, int depth, int format, int imageSize, java.nio.ByteBuffer data) {
|
||||
|
||||
org.lwjgl.opengl.GL45.glCompressedTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
imageSize,
|
||||
org.lwjglx.MemoryUtil.getAddress(data));
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
imageSize,
|
||||
org.lwjglx.MemoryUtil.getAddress(data));
|
||||
|
||||
}
|
||||
|
||||
public static void glCopyNamedBufferSubData(int readBuffer, int writeBuffer, long readOffset, long writeOffset,
|
||||
long size) {
|
||||
long size) {
|
||||
org.lwjgl.opengl.GL45.glCopyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size);
|
||||
}
|
||||
|
||||
@@ -159,12 +153,12 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glCopyTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int x, int y,
|
||||
int width, int height) {
|
||||
int width, int height) {
|
||||
org.lwjgl.opengl.GL45.glCopyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height);
|
||||
}
|
||||
|
||||
public static void glCopyTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int x,
|
||||
int y, int width, int height) {
|
||||
int y, int width, int height) {
|
||||
org.lwjgl.opengl.GL45.glCopyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width, height);
|
||||
}
|
||||
|
||||
@@ -257,7 +251,7 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureImage(int texture, int level, int pixels_bufSize,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glGetCompressedTextureImage(texture, level, pixels_bufSize, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
@@ -266,88 +260,48 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
int width, int height, int depth, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static void glGetCompressedTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset,
|
||||
int width, int height, int depth, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetCompressedTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
pixels);
|
||||
int width, int height, int depth, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, pixels);
|
||||
}
|
||||
|
||||
public static int glGetGraphicsResetStatus() {
|
||||
@@ -391,7 +345,7 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glGetNamedFramebufferAttachmentParameter(int framebuffer, int attachment, int pname,
|
||||
java.nio.IntBuffer params) {
|
||||
java.nio.IntBuffer params) {
|
||||
org.lwjgl.opengl.GL45.glGetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, params);
|
||||
}
|
||||
|
||||
@@ -404,7 +358,7 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glGetTextureImage(int texture, int level, int format, int type, int pixels_bufSize,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glGetTextureImage(texture, level, format, type, pixels_bufSize, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
@@ -477,100 +431,100 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
int height, int depth, int format, int type, int pixels_bufSize, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_bufSize,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTextureSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glGetTextureSubImage(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
}
|
||||
|
||||
public static void glGetTransformFeedback(int xfb, int pname, int index, java.nio.IntBuffer param) {
|
||||
@@ -630,12 +584,12 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glInvalidateNamedFramebufferSubData(int framebuffer, java.nio.IntBuffer attachments, int x,
|
||||
int y, int width, int height) {
|
||||
int y, int width, int height) {
|
||||
org.lwjgl.opengl.GL45.glInvalidateNamedFramebufferSubData(framebuffer, attachments, x, y, width, height);
|
||||
}
|
||||
|
||||
public static java.nio.ByteBuffer glMapNamedBuffer(int buffer, int access, long length,
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
return org.lwjgl.opengl.GL45.glMapNamedBuffer(buffer, access, length, old_buffer);
|
||||
}
|
||||
|
||||
@@ -644,7 +598,7 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static java.nio.ByteBuffer glMapNamedBufferRange(int buffer, long offset, long length, int access,
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
java.nio.ByteBuffer old_buffer) {
|
||||
return org.lwjgl.opengl.GL45.glMapNamedBufferRange(buffer, offset, length, access, old_buffer);
|
||||
}
|
||||
|
||||
@@ -737,7 +691,7 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glNamedFramebufferRenderbuffer(int framebuffer, int attachment, int renderbuffertarget,
|
||||
int renderbuffer) {
|
||||
int renderbuffer) {
|
||||
org.lwjgl.opengl.GL45.glNamedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer);
|
||||
}
|
||||
|
||||
@@ -746,7 +700,7 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glNamedFramebufferTextureLayer(int framebuffer, int attachment, int texture, int level,
|
||||
int layer) {
|
||||
int layer) {
|
||||
org.lwjgl.opengl.GL45.glNamedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer);
|
||||
}
|
||||
|
||||
@@ -755,33 +709,33 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glNamedRenderbufferStorageMultisample(int renderbuffer, int samples, int internalformat,
|
||||
int width, int height) {
|
||||
int width, int height) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glNamedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height);
|
||||
.glNamedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height);
|
||||
}
|
||||
|
||||
public static void glReadnPixels(int x, int y, int width, int height, int format, int type, int pixels_bufSize,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glReadnPixels(x, y, width, height, format, type, pixels_bufSize, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glReadnPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.ByteBuffer pixels) {
|
||||
java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glReadnPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glReadnPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.FloatBuffer pixels) {
|
||||
java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glReadnPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glReadnPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.IntBuffer pixels) {
|
||||
java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glReadnPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glReadnPixels(int x, int y, int width, int height, int format, int type,
|
||||
java.nio.ShortBuffer pixels) {
|
||||
java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glReadnPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
@@ -830,196 +784,138 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glTextureStorage2DMultisample(int texture, int samples, int internalformat, int width,
|
||||
int height, boolean fixedsamplelocations) {
|
||||
int height, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations);
|
||||
.glTextureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTextureStorage3D(int texture, int levels, int internalformat, int width, int height,
|
||||
int depth) {
|
||||
int depth) {
|
||||
org.lwjgl.opengl.GL45.glTextureStorage3D(texture, levels, internalformat, width, height, depth);
|
||||
}
|
||||
|
||||
public static void glTextureStorage3DMultisample(int texture, int samples, int internalformat, int width,
|
||||
int height, int depth, boolean fixedsamplelocations) {
|
||||
int height, int depth, boolean fixedsamplelocations) {
|
||||
org.lwjgl.opengl.GL45.glTextureStorage3DMultisample(
|
||||
texture,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
fixedsamplelocations);
|
||||
texture,
|
||||
samples,
|
||||
internalformat,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
fixedsamplelocations);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
long pixels_buffer_offset) {
|
||||
long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.ByteBuffer pixels) {
|
||||
java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.FloatBuffer pixels) {
|
||||
java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.IntBuffer pixels) {
|
||||
java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type,
|
||||
java.nio.ShortBuffer pixels) {
|
||||
java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage2D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
width,
|
||||
height,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height,
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
.glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, long pixels_buffer_offset) {
|
||||
int height, int depth, int format, int type, long pixels_buffer_offset) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels_buffer_offset);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.ByteBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.DoubleBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.FloatBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.IntBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width,
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45.glTextureSubImage3D(
|
||||
texture,
|
||||
level,
|
||||
xoffset,
|
||||
yoffset,
|
||||
zoffset,
|
||||
width,
|
||||
height,
|
||||
depth,
|
||||
format,
|
||||
type,
|
||||
pixels);
|
||||
int height, int depth, int format, int type, java.nio.ShortBuffer pixels) {
|
||||
org.lwjgl.opengl.GL45
|
||||
.glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
public static void glTransformFeedbackBufferBase(int xfb, int index, int buffer) {
|
||||
@@ -1039,7 +935,7 @@ public class GL45 {
|
||||
}
|
||||
|
||||
public static void glVertexArrayAttribFormat(int vaobj, int attribindex, int size, int type, boolean normalized,
|
||||
int relativeoffset) {
|
||||
int relativeoffset) {
|
||||
org.lwjgl.opengl.GL45.glVertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset);
|
||||
}
|
||||
|
||||
|
||||
Loaded 100 of 180 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user