com.jme.image
Class Texture1D
java.lang.Object
com.jme.image.Texture
com.jme.image.Texture1D
- All Implemented Interfaces:
- Savable
public class Texture1D
- extends Texture
- Author:
- Joshua Slack
Nested classes/interfaces inherited from class com.jme.image.Texture |
Texture.ApplyMode, Texture.CombinerFunctionAlpha, Texture.CombinerFunctionRGB, Texture.CombinerOperandAlpha, Texture.CombinerOperandRGB, Texture.CombinerScale, Texture.CombinerSource, Texture.DepthTextureCompareFunc, Texture.DepthTextureCompareMode, Texture.DepthTextureMode, Texture.EnvironmentalMapMode, Texture.MagnificationFilter, Texture.MinificationFilter, Texture.RenderToTextureType, Texture.Type, Texture.WrapAxis, Texture.WrapMode |
Methods inherited from class com.jme.image.Texture |
getAnisotropicFilterPercent, getApply, getBlendColor, getBorderColor, getClassTag, getCombineFuncAlpha, getCombineFuncRGB, getCombineOp0Alpha, getCombineOp0RGB, getCombineOp1Alpha, getCombineOp1RGB, getCombineOp2Alpha, getCombineOp2RGB, getCombineScaleAlpha, getCombineScaleRGB, getCombineSrc0Alpha, getCombineSrc0RGB, getCombineSrc1Alpha, getCombineSrc1RGB, getCombineSrc2Alpha, getCombineSrc2RGB, getDepthCompareFunc, getDepthCompareMode, getDepthMode, getEnvironmentalMapMode, getImage, getImageLocation, getMagnificationFilter, getMatrix, getMemoryReq, getMinificationFilter, getRotation, getRTTSource, getScale, getTextureId, getTextureKey, getTranslation, hasBorder, isStoreTexture, setAnisotropicFilterPercent, setApply, setBlendColor, setBorderColor, setCombineFuncAlpha, setCombineFuncRGB, setCombineOp0Alpha, setCombineOp0RGB, setCombineOp1Alpha, setCombineOp1RGB, setCombineOp2Alpha, setCombineOp2RGB, setCombineScaleAlpha, setCombineScaleRGB, setCombineSrc0Alpha, setCombineSrc0RGB, setCombineSrc1Alpha, setCombineSrc1RGB, setCombineSrc2Alpha, setCombineSrc2RGB, setDepthCompareFunc, setDepthCompareMode, setDepthMode, setEnvironmentalMapMode, setHasBorder, setImage, setImageLocation, setMagnificationFilter, setMatrix, setMinificationFilter, setRenderToTextureType, setRotation, setScale, setStoreTexture, setTextureId, setTextureKey, setTranslation, updateMemoryReq |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Texture1D
public Texture1D()
createSimpleClone
public Texture createSimpleClone()
- Specified by:
createSimpleClone
in class Texture
createSimpleClone
public Texture createSimpleClone(Texture rVal)
- Description copied from class:
Texture
- Retreive a basic clone of this Texture (ie, clone everything but the
image data, which is shared)
- Overrides:
createSimpleClone
in class Texture
- Returns:
- Texture
setWrap
public void setWrap(Texture.WrapAxis axis,
Texture.WrapMode mode)
setWrap
sets the wrap mode of this texture for a
particular axis.
- Specified by:
setWrap
in class Texture
- Parameters:
axis
- the texture axis to define a wrapmode on.mode
- the wrap mode for the given axis of the texture.
- Throws:
java.lang.IllegalArgumentException
- if axis or mode are null
setWrap
public void setWrap(Texture.WrapMode mode)
setWrap
sets the wrap mode of this texture for all axis.
- Specified by:
setWrap
in class Texture
- Parameters:
mode
- the wrap mode for the given axis of the texture.
- Throws:
java.lang.IllegalArgumentException
- if mode is null
getWrap
public Texture.WrapMode getWrap(Texture.WrapAxis axis)
getWrap
returns the wrap mode for a given coordinate axis
on this texture.
- Specified by:
getWrap
in class Texture
- Parameters:
axis
- the axis to return for
- Returns:
- the wrap mode of the texture.
- Throws:
java.lang.IllegalArgumentException
- if axis is null
getType
public Texture.Type getType()
- Specified by:
getType
in class Texture
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class Texture
write
public void write(JMEExporter e)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Overrides:
write
in class Texture
- Throws:
java.io.IOException
read
public void read(JMEImporter e)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Overrides:
read
in class Texture
- Throws:
java.io.IOException