Gles

Class of snx.android.opengl · Gles.java

public final class Gles

The calls of android.opengl.GLES20: each one the runtime's GLES function of its name (src/android/bridge/hle_egl.c), on the calling thread's current context, with its arguments as native code passes them. kinds gives each one's kind in order: i an integer (of ints), f a float (of floats), p a pointer, s a string and S an array of one string (each of objects, a pointer from its byte offset of offsets). A pointer is a direct buffer's memory or an array's.

Methods

public static native long call(String name, String kinds, long[] ints, float[] floats, Object[] objects, int[] offsets) native source
public static native String string(int name) native source

glGetString: the current context's string

public static Object base(Buffer b) source

a buffer's memory from its position: the buffer itself when it is direct, else its array

public static int offset(Buffer b) source
public static void checkArray(Object array, int offset) source

an array from an element's offset


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.