public class TextureArray extends Texture
Texture.MagFilter, Texture.MinFilter, Texture.ShadowCompareMode, Texture.Type, Texture.WrapAxis, Texture.WrapMode| Constructor and Description |
|---|
TextureArray()
Construct a TextureArray
warning, this feature is only supported on opengl 3.0 version.
|
TextureArray(java.util.List<Image> images)
Construct a TextureArray from the given list of images.
|
| 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)
|
Texture.Type |
getType() |
Texture.WrapMode |
getWrap(Texture.WrapAxis axis)
getWrap returns the wrap mode for a given coordinate axis
on this texture. |
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. |
clone, equals, getAnisotropicFilter, getImage, getKey, getMagFilter, getMinFilter, getName, getShadowCompareMode, hashCode, read, setAnisotropicFilter, setImage, setKey, setMagFilter, setMinFilter, setName, setShadowCompareMode, toString, writepublic TextureArray()
public TextureArray(java.util.List<Image> images)
images - public Texture createSimpleClone()
createSimpleClone in class Texturepublic Texture createSimpleClone(Texture rVal)
TexturecreateSimpleClone in class Texturepublic Texture.Type getType()
public Texture.WrapMode getWrap(Texture.WrapAxis axis)
TexturegetWrap returns the wrap mode for a given coordinate axis
on this texture.public void setWrap(Texture.WrapAxis axis, Texture.WrapMode mode)
TexturesetWrap sets the wrap mode of this texture for a
particular axis.public void setWrap(Texture.WrapMode mode)
TexturesetWrap sets the wrap mode of this texture for all axis.