GLRenderer instead.@Deprecated
public class TextureUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TextureUtil.AndroidGLImageFormat
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ENABLE_COMPRESSION
Deprecated.
|
| Constructor and Description |
|---|
TextureUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static TextureUtil.AndroidGLImageFormat |
getImageFormat(com.jme3.texture.Image.Format fmt,
boolean forRenderBuffer)
Deprecated.
|
static void |
loadTextureFeatures(java.lang.String extensionString)
Deprecated.
|
static void |
uploadSubTexture(com.jme3.texture.Image img,
int target,
int index,
int x,
int y)
Deprecated.
Update the texture currently bound to target at with data from the given
Image at position x and y.
|
static void |
uploadTextureAny(com.jme3.texture.Image img,
int target,
int index,
boolean needMips)
Deprecated.
|
static void |
uploadTextureBitmap(int target,
android.graphics.Bitmap bitmap,
boolean needMips)
Deprecated.
uploadTextureBitmap uploads a native android bitmap |
static void |
uploadTextureBitmap(int target,
android.graphics.Bitmap bitmap,
boolean needMips,
boolean subTexture,
int x,
int y)
Deprecated.
uploadTextureBitmap uploads a native android bitmap |
public static void loadTextureFeatures(java.lang.String extensionString)
public static void uploadTextureBitmap(int target,
android.graphics.Bitmap bitmap,
boolean needMips)
uploadTextureBitmap uploads a native android bitmappublic static void uploadTextureBitmap(int target,
android.graphics.Bitmap bitmap,
boolean needMips,
boolean subTexture,
int x,
int y)
uploadTextureBitmap uploads a native android bitmappublic static void uploadTextureAny(com.jme3.texture.Image img,
int target,
int index,
boolean needMips)
public static TextureUtil.AndroidGLImageFormat getImageFormat(com.jme3.texture.Image.Format fmt, boolean forRenderBuffer) throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationExceptionpublic static void uploadSubTexture(com.jme3.texture.Image img,
int target,
int index,
int x,
int y)
image - Image with the source data (this data will be put into the
texture)target - the target textureindex - the mipmap level to updatex - the x position where to put the image in the texturey - the y position where to put the image in the texture