public class TextureCubeMap extends Texture
Modifier and Type | Class and Description |
---|---|
static class |
TextureCubeMap.Face
Face of the Cubemap as described by its directional offset from the
origin.
|
Texture.MagFilter, Texture.MinFilter, Texture.ShadowCompareMode, Texture.Type, Texture.WrapAxis, Texture.WrapMode
Constructor and Description |
---|
TextureCubeMap() |
TextureCubeMap(Image img) |
TextureCubeMap(int width,
int height,
Image.Format format) |
Modifier and Type | Method and Description |
---|---|
Texture |
createSimpleClone() |
Texture |
createSimpleClone(Texture rVal)
Retrieve a basic clone of this Texture (ie, clone everything but the
image data, which is shared)
|
boolean |
equals(java.lang.Object other) |
Texture.Type |
getType() |
Texture.WrapMode |
getWrap(Texture.WrapAxis axis)
getWrap returns the wrap mode for a given coordinate axis
on this texture. |
int |
hashCode() |
void |
read(JmeImporter importer) |
void |
setWrap(Texture.WrapAxis axis,
Texture.WrapMode mode)
setWrap sets the wrap mode of this texture for a
particular axis. |
void |
setWrap(Texture.WrapMode mode)
setWrap sets the wrap mode of this texture for all axis. |
void |
write(JmeExporter e) |
clone, getAnisotropicFilter, getImage, getKey, getMagFilter, getMinFilter, getName, getShadowCompareMode, setAnisotropicFilter, setImage, setKey, setMagFilter, setMinFilter, setName, setShadowCompareMode, toString
public TextureCubeMap()
public TextureCubeMap(Image img)
public TextureCubeMap(int width, int height, Image.Format format)
public Texture createSimpleClone()
createSimpleClone
in class Texture
public Texture createSimpleClone(Texture rVal)
Texture
createSimpleClone
in class Texture
rVal
- storage for the clone (not null, modified)public void setWrap(Texture.WrapAxis axis, Texture.WrapMode mode)
setWrap
sets the wrap mode of this texture for a
particular axis.public void setWrap(Texture.WrapMode mode)
setWrap
sets the wrap mode of this texture for all axis.public Texture.WrapMode getWrap(Texture.WrapAxis axis)
getWrap
returns the wrap mode for a given coordinate axis
on this texture.public Texture.Type getType()
public void write(JmeExporter e) throws java.io.IOException
public void read(JmeImporter importer) throws java.io.IOException