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, unbindpublic 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()
MrComponentgetType in class MrComponentpublic java.lang.String getName()
MrComponentgetName in class MrComponentpublic MrTexture.Data getData()
MrComponentgetData in class MrComponentpublic MrTexture.View getView()
MrComponentgetView in class MrComponentpublic void bind()
MrComponentbind in class MrComponentpublic int getIndex()
public int getId()
public int getMagFilter()
public int getMinFilter()
public Bitmap getBitmap()