public class GLUtil
extends java.lang.Object
| Constructor and Description |
|---|
GLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkGlError(java.lang.String op)
Checks to see if a GLES error has been raised.
|
static java.nio.FloatBuffer |
createFloatBuffer(float[] coords)
Allocates a direct float buffer, and populates it with the float array data.
|
static int |
genTexture(int target,
int width,
int height) |
static int |
genTextureWithBitmap(android.graphics.Bitmap bitmap) |
public static int genTexture(int target,
int width,
int height)
public static java.nio.FloatBuffer createFloatBuffer(float[] coords)
public static int genTextureWithBitmap(android.graphics.Bitmap bitmap)
public static void checkGlError(java.lang.String op)