Package com.jme3.texture
Class TextureArray
java.lang.Object
com.jme3.texture.Texture
com.jme3.texture.TextureArray
- All Implemented Interfaces:
- CloneableSmartAsset,- Savable,- Cloneable
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 SummaryNested classes/interfaces inherited from class com.jme3.texture.TextureTexture.MagFilter, Texture.MinFilter, Texture.ShadowCompareMode, Texture.Type, Texture.WrapAxis, Texture.WrapMode
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a TextureArray warning, this feature is only supported on opengl 3.0 version.TextureArray(List<Image> images) Construct a TextureArray from the given list of images.
- 
Method SummaryModifier and TypeMethodDescriptioncreateSimpleClone(Texture rVal) Retrieve a basic clone of this Texture (ie, clone everything but the image data, which is shared)booleangetType()getWrap(Texture.WrapAxis axis) getWrapreturns the wrap mode for a given coordinate axis on this texture.inthashCode()voidread(JmeImporter importer) voidsetWrap(Texture.WrapAxis axis, Texture.WrapMode mode) setWrapsets the wrap mode of this texture for a particular axis.voidsetWrap(Texture.WrapMode mode) setWrapsets the wrap mode of this texture for all axis.voidwrite(JmeExporter e) Methods inherited from class com.jme3.texture.Textureclone, getAnisotropicFilter, getImage, getKey, getMagFilter, getMinFilter, getName, getShadowCompareMode, setAnisotropicFilter, setImage, setKey, setMagFilter, setMinFilter, setName, setShadowCompareMode, toString
- 
Constructor Details- 
TextureArraypublic TextureArray()Construct a TextureArray 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)
- 
TextureArrayConstruct a TextureArray from the given list of images. To check if a hardware supports TextureArray check : renderManager.getRenderer().getCaps().contains(Caps.TextureArray)- Parameters:
- images- the images to use (not null)
 
 
- 
- 
Method Details- 
createSimpleClone- Specified by:
- createSimpleClonein class- Texture
- Returns:
- a new Texture
 
- 
createSimpleCloneDescription copied from class:TextureRetrieve a basic clone of this Texture (ie, clone everything but the image data, which is shared)- Overrides:
- createSimpleClonein class- Texture
- Parameters:
- rVal- storage for the clone (not null, modified)
- Returns:
- Texture
 
- 
getType
- 
getWrapDescription copied from class:TexturegetWrapreturns the wrap mode for a given coordinate axis on this texture.
- 
setWrapDescription copied from class:TexturesetWrapsets the wrap mode of this texture for a particular axis.
- 
setWrapDescription copied from class:TexturesetWrapsets the wrap mode of this texture for all axis.
- 
write- Specified by:
- writein interface- Savable
- Overrides:
- writein class- Texture
- Throws:
- IOException
 
- 
read- Specified by:
- readin interface- Savable
- Overrides:
- readin class- Texture
- Throws:
- IOException
 
- 
equals
- 
hashCodepublic int hashCode()
 
-