public interface ITexture extends IAsset
| Modifier and Type | Field and Description |
|---|---|
static int |
BOTTOM_LEFT |
static int |
BOTTOM_RIGHT |
static int |
TOP_LEFT |
static int |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
void |
bind() |
void |
draw(float x,
float y) |
void |
draw(float x,
float y,
float scale) |
void |
draw(float x,
float y,
float width,
float height) |
void |
draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2) |
void |
draw(float x,
float y,
float x2,
float y2,
float x3,
float y3,
float x4,
float y4,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter) |
void |
draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int filter) |
void |
draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light) |
void |
draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter) |
void |
draw(float x,
float y,
float width,
float height,
int filter) |
void |
draw(float x,
float y,
float width,
float height,
int[] light) |
void |
draw(float x,
float y,
float width,
float height,
int[] light,
int filter) |
void |
forceBind() |
void |
forceUnbind() |
com.google.gson.JsonElement |
getAdditionalData(java.lang.String name) |
int |
getId() |
java.nio.ByteBuffer |
getPixelData() |
ITexture |
getPositionalVariation(int x,
int y) |
int |
getRenderHeight() |
int |
getRenderOffsetX() |
int |
getRenderOffsetY() |
int |
getRenderWidth() |
ITexture |
getSubTexture(int x,
int y,
int width,
int height) |
ITexture |
getSubTexture(int x,
int y,
int width,
int height,
boolean inheritVariations,
boolean inheritData) |
int |
getTextureColor(int x,
int y) |
int |
getTextureHeight() |
int |
getTextureWidth() |
ITexture |
getVariation(java.util.Random random) |
void |
param(int param,
int value) |
void |
unbind() |
disposestatic final int TOP_LEFT
static final int BOTTOM_LEFT
static final int BOTTOM_RIGHT
static final int TOP_RIGHT
void bind()
void forceBind()
void param(int param,
int value)
int getId()
int getTextureWidth()
int getTextureHeight()
java.nio.ByteBuffer getPixelData()
void unbind()
void forceUnbind()
void draw(float x,
float y)
void draw(float x,
float y,
float scale)
void draw(float x,
float y,
float width,
float height)
void draw(float x,
float y,
float width,
float height,
int[] light)
void draw(float x,
float y,
float width,
float height,
int filter)
void draw(float x,
float y,
float width,
float height,
int[] light,
int filter)
void draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2)
void draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light)
void draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int filter)
void draw(float x,
float y,
float x2,
float y2,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter)
void draw(float x,
float y,
float x2,
float y2,
float x3,
float y3,
float x4,
float y4,
float srcX,
float srcY,
float srcX2,
float srcY2,
int[] light,
int filter)
com.google.gson.JsonElement getAdditionalData(java.lang.String name)
ITexture getVariation(java.util.Random random)
ITexture getPositionalVariation(int x, int y)
ITexture getSubTexture(int x, int y, int width, int height)
ITexture getSubTexture(int x, int y, int width, int height, boolean inheritVariations, boolean inheritData)
int getTextureColor(int x,
int y)
int getRenderWidth()
int getRenderHeight()
int getRenderOffsetX()
int getRenderOffsetY()