public class Texture extends TextureBase
name, properties
Constructor and Description |
---|
Texture()
Initializes a new instance of the
Texture class. |
Texture(java.lang.String name)
Initializes a new instance of the
Texture class. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Gets the binary content of the texture.
|
boolean |
getEnableMipMap()
Gets if the mipmap is enabled for this texture
|
java.lang.String |
getFileName()
Gets the associated texture file.
|
void |
setContent(byte[] value)
Sets the binary content of the texture.
|
void |
setEnableMipMap(boolean value)
Sets if the mipmap is enabled for this texture
|
void |
setFileName(java.lang.String value)
Sets the associated texture file.
|
getAlpha, getAlphaSource, getMagFilter, getMinFilter, getMipFilter, getUVRotation, getUVScale, getUVTranslation, getWrapModeU, getWrapModeV, getWrapModeW, setAlpha, setAlphaSource, setMagFilter, setMinFilter, setMipFilter, setRotation, setScale, setTranslation, setUVRotation, setUVScale, setUVTranslation, setWrapModeU, setWrapModeV, setWrapModeW
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public Texture()
Texture
class.public Texture(java.lang.String name)
Texture
class.name
- Namepublic boolean getEnableMipMap()
public void setEnableMipMap(boolean value)
value
- New valuepublic byte[] getContent()
public void setContent(byte[] value)
value
- New valuepublic java.lang.String getFileName()
public void setFileName(java.lang.String value)
value
- New value