public class GlUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkNoGLES2Error(java.lang.String msg) |
static java.nio.FloatBuffer |
createFloatBuffer(float[] coords) |
static java.nio.ByteBuffer |
dumpTextureToRGBA(int textureId,
int txtWidth,
int txtHeight) |
static int |
generateTexture(int target)
Generate texture with standard parameters.
|
public static void checkNoGLES2Error(java.lang.String msg)
public static java.nio.FloatBuffer createFloatBuffer(float[] coords)
public static int generateTexture(int target)
public static java.nio.ByteBuffer dumpTextureToRGBA(int textureId, int txtWidth, int txtHeight)