|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.texture.Texture
com.jme3.texture.TextureArray
public class TextureArray
This class implements a Texture array warning, this feature is only supported on opengl 3.0 version. To check if a hardware supports TextureArray check : renderManager.getRenderer().getCaps().contains(Caps.TextureArray)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme3.texture.Texture |
---|
Texture.MagFilter, Texture.MinFilter, Texture.ShadowCompareMode, Texture.Type, Texture.WrapAxis, Texture.WrapMode |
Constructor Summary | |
---|---|
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 warning, this feature is only supported on opengl 3.0 version. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.jme3.texture.Texture |
---|
clone, equals, getAnisotropicFilter, getImage, getKey, getMagFilter, getMinFilter, getName, getShadowCompareMode, hashCode, read, setAnisotropicFilter, setImage, setKey, setMagFilter, setMinFilter, setName, setShadowCompareMode, toString, write |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextureArray()
public TextureArray(java.util.List<Image> images)
images
- Method Detail |
---|
public Texture createSimpleClone()
createSimpleClone
in class Texture
public Texture createSimpleClone(Texture rVal)
Texture
createSimpleClone
in class Texture
public Texture.Type getType()
getType
in class Texture
public Texture.WrapMode getWrap(Texture.WrapAxis axis)
Texture
getWrap
returns the wrap mode for a given coordinate axis
on this texture.
getWrap
in class Texture
axis
- the axis to return for
public void setWrap(Texture.WrapAxis axis, Texture.WrapMode mode)
Texture
setWrap
sets the wrap mode of this texture for a
particular axis.
setWrap
in class Texture
axis
- the texture axis to define a wrapmode on.mode
- the wrap mode for the given axis of the texture.public void setWrap(Texture.WrapMode mode)
Texture
setWrap
sets the wrap mode of this texture for all axis.
setWrap
in class Texture
mode
- the wrap mode for the given axis of the texture.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |