public class MrTexture extends MrComponent
Modifier and Type | Class and Description |
---|---|
protected static class |
MrTexture.Data |
protected class |
MrTexture.View |
Modifier and Type | Field and Description |
---|---|
static int |
MAG_FILTER_LINEAR |
static int |
MAG_FILTER_NEAREST |
static int |
MIN_FILTER_LINEAR |
static int |
MIN_FILTER_LINEAR_LINEAR |
static int |
MIN_FILTER_LINEAR_NEAREST |
static int |
MIN_FILTER_NEAREST |
static int |
MIN_FILTER_NEAREST_LINEAR |
static int |
MIN_FILTER_NEAREST_NEAREST |
mBound, mInitialized, mRenderingContext, TYPE_MESH, TYPE_SHADERPROGRAM, TYPE_TEXTURE
Constructor and Description |
---|
MrTexture(java.lang.String name,
int index,
int magFilter,
int minFilter,
Bitmap bitmap) |
Modifier and Type | Method and Description |
---|---|
void |
bind()
Binds the component
|
Bitmap |
getBitmap() |
MrTexture.Data |
getData()
Gets the data layer linked to this object
|
int |
getId() |
int |
getIndex() |
int |
getMagFilter() |
int |
getMinFilter() |
java.lang.String |
getName()
Gets the name of this component
|
java.lang.String |
getType()
Gets the type of this component
|
MrTexture.View |
getView()
Gets the rendering layer linked to this object
|
initialize, isBound, isInitialized, unbind
public static final int MAG_FILTER_NEAREST
public static final int MAG_FILTER_LINEAR
public static final int MIN_FILTER_NEAREST
public static final int MIN_FILTER_LINEAR
public static final int MIN_FILTER_NEAREST_NEAREST
public static final int MIN_FILTER_NEAREST_LINEAR
public static final int MIN_FILTER_LINEAR_LINEAR
public static final int MIN_FILTER_LINEAR_NEAREST
public MrTexture(java.lang.String name, int index, int magFilter, int minFilter, Bitmap bitmap)
public java.lang.String getType()
MrComponent
getType
in class MrComponent
public java.lang.String getName()
MrComponent
getName
in class MrComponent
public MrTexture.Data getData()
MrComponent
getData
in class MrComponent
public MrTexture.View getView()
MrComponent
getView
in class MrComponent
public void bind()
MrComponent
bind
in class MrComponent
public int getIndex()
public int getId()
public int getMagFilter()
public int getMinFilter()
public Bitmap getBitmap()