public class Texture
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CLAMP |
static int |
LINEAR |
static int |
MIRROR |
static int |
NEAREST |
static int |
REPEAT |
Constructor and Description |
---|
Texture() |
Modifier and Type | Method and Description |
---|---|
static void |
activate(int index) |
void |
bind() |
void |
bitmap(android.graphics.Bitmap bitmap) |
static Texture |
create(android.graphics.Bitmap bmp) |
static Texture |
create(int width,
int height,
byte[] pixels) |
static Texture |
create(int width,
int height,
int[] pixels) |
void |
delete() |
void |
filter(int minMode,
int maxMode) |
int |
getId() |
void |
handMade(android.graphics.Bitmap bitmap,
boolean recode) |
void |
pixels(int w,
int h,
byte[] pixels) |
void |
pixels(int w,
int h,
int[] pixels) |
void |
wrap(int s,
int t) |
public static final int NEAREST
public static final int LINEAR
public static final int REPEAT
public static final int MIRROR
public static final int CLAMP
public static void activate(int index)
public void bind()
public void filter(int minMode, int maxMode)
public void wrap(int s, int t)
public void delete()
public void bitmap(android.graphics.Bitmap bitmap)
public void pixels(int w, int h, int[] pixels)
public void pixels(int w, int h, byte[] pixels)
public void handMade(android.graphics.Bitmap bitmap, boolean recode)
public static Texture create(android.graphics.Bitmap bmp)
public static Texture create(int width, int height, int[] pixels)
public static Texture create(int width, int height, byte[] pixels)
public int getId()