Package org.lwjglx.debug
Class RT
java.lang.Object
org.lwjglx.debug.RT
public class RT extends Object
Runtime support methods for generated classes and manual validation/trace methods.
-
Field Summary
Fields Modifier and Type Field Description static booleanglfwInitializedstatic ThreadmainThread -
Constructor Summary
Constructors Constructor Description RT() -
Method Summary
Modifier and Type Method Description static org.lwjgl.PointerBufferallocateDirectPointerBuffer(int capacity)static CharBufferasCharBuffer(ByteBuffer buf)static DoubleBufferasDoubleBuffer(ByteBuffer buf)static FloatBufferasFloatBuffer(ByteBuffer buf)static IntBufferasIntBuffer(ByteBuffer buf)static LongBufferasLongBuffer(ByteBuffer buf)static ShortBufferasShortBuffer(ByteBuffer buf)static voidbeginImmediate()static voidcheckBuffer(Buffer buffer, String owner, String methodName)static voidcheckBuffer(ByteBuffer buffer, String owner, String methodName)static voidcheckBuffer(DoubleBuffer buffer, String owner, String methodName)static voidcheckBuffer(FloatBuffer buffer, String owner, String methodName)static voidcheckBuffer(IntBuffer buffer, String owner, String methodName)static voidcheckBuffer(LongBuffer buffer, String owner, String methodName)static voidcheckBuffer(ShortBuffer buffer, String owner, String methodName)static voidcheckError(String glCall)static voidcheckFlipBufferAtPosition0(Buffer buffer)static voidcheckFunction(long addr, String glCall)static voidcheckGlfwInitialized(String methodName)static voidcheckGlfwMonitor(long monitor)static voidcheckGlfwWindow(long share)static voidcheckMainMethod(String[] args)static voidcheckMainThread(String methodName)static booleancheckNativeByteOrder(Buffer buf)static voidcheckNotNull(Object paramValue, int paramIndex, String paramName)static StringdecodeBitField(org.lwjglx.debug.Command cmd, int paramIndex, int value)static voiddelay()static voiddraw(int verticesCount)static voidendImmediate()static <T extends Throwable>
TfilterStackTrace(T t, int offset)static voidframe()static voidfree(org.lwjgl.PointerBuffer pb)static voidgenerateMipmap(int target)static StringglEnumFor(int value, Map<Integer,String> initialGroup)static StringglEnumFor(org.lwjglx.debug.Command cmd, int paramIndex, int value)static intglEnumReturn(int value, MethodCall mc, org.lwjglx.debug.Command cmd)static StringglErrorToString(int err)static booleanisInvalidPointer(long pointer)static MethodCallmethodCall(String source, int line, String name)static voidmethodCall(MethodCall mc)static MethodCallparamGlfwMonitor(MethodCall mc, long monitor)static MethodCallparamGlfwWindow(MethodCall mc, long window)static ByteBufferput(ByteBuffer buf, byte[] src)static ByteBufferput(ByteBuffer buf, byte[] src, int offset, int length)static ByteBufferput(ByteBuffer buf, int index, byte[] src)static ByteBufferput(ByteBuffer buf, int index, byte[] src, int offset, int length)static CharBufferput(CharBuffer buf, char s)static CharBufferput(CharBuffer buf, char[] src)static CharBufferput(CharBuffer buf, char[] src, int offset, int length)static CharBufferput(CharBuffer buf, int index, char s)static CharBufferput(CharBuffer buf, int index, char[] src, int offset, int length)static CharBufferput(CharBuffer buf, CharBuffer src)static DoubleBufferput(DoubleBuffer buf, double s)static DoubleBufferput(DoubleBuffer buf, double[] src)static DoubleBufferput(DoubleBuffer buf, double[] src, int offset, int length)static DoubleBufferput(DoubleBuffer buf, int index, double s)static DoubleBufferput(DoubleBuffer buf, int index, double[] src, int offset, int length)static DoubleBufferput(DoubleBuffer buf, DoubleBuffer src)static FloatBufferput(FloatBuffer buf, float s)static FloatBufferput(FloatBuffer buf, float[] src)static FloatBufferput(FloatBuffer buf, float[] src, int offset, int length)static FloatBufferput(FloatBuffer buf, int index, float s)static FloatBufferput(FloatBuffer buf, int index, float[] src, int offset, int length)static FloatBufferput(FloatBuffer buf, FloatBuffer src)static IntBufferput(IntBuffer buf, int s)static IntBufferput(IntBuffer buf, int[] src)static IntBufferput(IntBuffer buf, int[] src, int offset, int length)static IntBufferput(IntBuffer buf, int index, int s)static IntBufferput(IntBuffer buf, int index, int[] src, int offset, int length)static IntBufferput(IntBuffer buf, IntBuffer src)static LongBufferput(LongBuffer buf, int index, long s)static LongBufferput(LongBuffer buf, int index, long[] src, int offset, int length)static LongBufferput(LongBuffer buf, long s)static LongBufferput(LongBuffer buf, long[] src)static LongBufferput(LongBuffer buf, long[] src, int offset, int length)static LongBufferput(LongBuffer buf, LongBuffer src)static ShortBufferput(ShortBuffer buf, int index, short s)static ShortBufferput(ShortBuffer buf, int index, short[] src, int offset, int length)static ShortBufferput(ShortBuffer buf, short s)static ShortBufferput(ShortBuffer buf, short[] src)static ShortBufferput(ShortBuffer buf, short[] src, int offset, int length)static ShortBufferput(ShortBuffer buf, ShortBuffer src)static ByteBufferputChar(ByteBuffer buf, char value)static ByteBufferputChar(ByteBuffer buf, int index, char value)static ByteBufferputDouble(ByteBuffer buf, double value)static ByteBufferputDouble(ByteBuffer buf, int index, double value)static ByteBufferputFloat(ByteBuffer buf, float value)static ByteBufferputFloat(ByteBuffer buf, int index, float value)static ByteBufferputInt(ByteBuffer buf, int value)static ByteBufferputInt(ByteBuffer buf, int index, int value)static ByteBufferputLong(ByteBuffer buf, int index, long value)static ByteBufferputLong(ByteBuffer buf, long value)static ByteBufferputShort(ByteBuffer buf, int index, short value)static ByteBufferputShort(ByteBuffer buf, short value)static booleanreturnValue(boolean val, MethodCall mc)static charreturnValue(char val, MethodCall mc)static doublereturnValue(double val, MethodCall mc)static floatreturnValue(float val, MethodCall mc)static intreturnValue(int val, MethodCall mc)static longreturnValue(long val, MethodCall mc)static shortreturnValue(short val, MethodCall mc)static ObjectreturnValue(Object val, MethodCall mc)static longreturnValueGlfwMonitor(long monitor, MethodCall mc)static longreturnValueGlfwWindow(long window, MethodCall mc)static voidsetTextureLayerSize(int target, int level, int internalformat, int width, int height, Context.TextureObject obj)static ByteBufferslice(ByteBuffer buf)static ByteBufferslice(ByteBuffer buf, int index, int length)static CharBufferslice(CharBuffer buf)static CharBufferslice(CharBuffer buf, int index, int length)static DoubleBufferslice(DoubleBuffer buf)static DoubleBufferslice(DoubleBuffer buf, int index, int length)static FloatBufferslice(FloatBuffer buf)static FloatBufferslice(FloatBuffer buf, int index, int length)static IntBufferslice(IntBuffer buf)static IntBufferslice(IntBuffer buf, int index, int length)static LongBufferslice(LongBuffer buf)static LongBufferslice(LongBuffer buf, int index, int length)static ShortBufferslice(ShortBuffer buf)static ShortBufferslice(ShortBuffer buf, int index, int length)static voidthrowIAEOrLogError(String message)static voidthrowIAEOrLogError(String message, boolean stacktrace)static voidthrowISEOrLogError(String message)static voidthrowISEOrLogError(String message, boolean stacktrace, int offset)static voidwriteByteBuffer(ByteBuffer buf)
-
Field Details
-
mainThread
-
glfwInitialized
public static boolean glfwInitialized
-
-
Constructor Details
-
RT
public RT()
-
-
Method Details
-
checkNativeByteOrder
-
allocateDirectPointerBuffer
public static org.lwjgl.PointerBuffer allocateDirectPointerBuffer(int capacity) -
free
public static void free(org.lwjgl.PointerBuffer pb) -
writeByteBuffer
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
slice
-
asCharBuffer
-
asShortBuffer
-
asIntBuffer
-
asLongBuffer
-
asFloatBuffer
-
asDoubleBuffer
-
put
-
put
-
put
-
put
-
putChar
-
putChar
-
putShort
-
putShort
-
putInt
-
putInt
-
putLong
-
putLong
-
putFloat
-
putFloat
-
putDouble
-
putDouble
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
put
-
methodCall
-
methodCall
-
paramGlfwWindow
-
paramGlfwMonitor
-
returnValue
-
returnValue
-
returnValue
-
returnValue
-
returnValue
-
returnValue
-
returnValue
-
returnValue
-
returnValueGlfwWindow
-
returnValueGlfwMonitor
-
checkFunction
-
checkError
-
glErrorToString
-
filterStackTrace
-
throwISEOrLogError
-
throwISEOrLogError
-
throwIAEOrLogError
-
throwIAEOrLogError
-
checkFlipBufferAtPosition0
-
checkBuffer
-
checkBuffer
-
checkBuffer
-
checkBuffer
-
checkBuffer
-
checkBuffer
-
checkBuffer
-
checkNotNull
-
glEnumFor
-
glEnumFor
-
glEnumReturn
-
decodeBitField
-
delay
public static void delay() -
draw
public static void draw(int verticesCount) -
beginImmediate
public static void beginImmediate() -
endImmediate
public static void endImmediate() -
frame
public static void frame() -
setTextureLayerSize
public static void setTextureLayerSize(int target, int level, int internalformat, int width, int height, Context.TextureObject obj) -
generateMipmap
public static void generateMipmap(int target) -
checkMainThread
-
checkGlfwInitialized
-
checkGlfwMonitor
public static void checkGlfwMonitor(long monitor) -
checkGlfwWindow
public static void checkGlfwWindow(long share) -
checkMainMethod
-
isInvalidPointer
public static boolean isInvalidPointer(long pointer)
-