|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.opengl.GLUtils
public final class GLUtils
Utility class to help bridging OpenGL ES and Android APIs.
| Method Summary | |
|---|---|
static int |
getInternalFormat(Bitmap bitmap)
return the internal format as defined by OpenGL ES of the supplied bitmap. |
static int |
getType(Bitmap bitmap)
Return the type as defined by OpenGL ES of the supplied bitmap. |
static void |
texImage2D(int target,
int level,
Bitmap bitmap,
int border)
A version of texImage2D that determines the internalFormat automatically. |
static void |
texImage2D(int target,
int level,
int internalformat,
Bitmap bitmap,
int border)
Calls glTexImage2D() on the current OpenGL context. |
static void |
texImage2D(int target,
int level,
int internalformat,
Bitmap bitmap,
int type,
int border)
A version of texImage2D() that takes an explicit type parameter as defined by the OpenGL ES specification. |
static void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
Bitmap bitmap)
Calls glTexSubImage2D() on the current OpenGL context. |
static void |
texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
Bitmap bitmap,
int format,
int type)
A version of texSubImage2D() that takes an explicit type parameter as defined by the OpenGL ES specification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int getInternalFormat(Bitmap bitmap)
bitmap -
public static int getType(Bitmap bitmap)
public static void texImage2D(int target,
int level,
int internalformat,
Bitmap bitmap,
int border)
target - level - internalformat - bitmap - border -
public static void texImage2D(int target,
int level,
int internalformat,
Bitmap bitmap,
int type,
int border)
target - level - internalformat - bitmap - type - border -
public static void texImage2D(int target,
int level,
Bitmap bitmap,
int border)
target - level - bitmap - border -
public static void texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
Bitmap bitmap)
target - level - xoffset - yoffset - bitmap -
public static void texSubImage2D(int target,
int level,
int xoffset,
int yoffset,
Bitmap bitmap,
int format,
int type)
target - level - xoffset - yoffset - bitmap - type -
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||