Package com.ardor3d.image
Class Texture1D
java.lang.Object
com.ardor3d.image.Texture
com.ardor3d.image.Texture1D
- All Implemented Interfaces:
Savable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ardor3d.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.Type, Texture.WrapAxis, Texture.WrapMode -
Field Summary
Fields inherited from class com.ardor3d.image.Texture
DEFAULT_STORE_IMAGE -
Constructor Summary
Constructors -
Method Summary
Modifier 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.voidread(InputCapsule capsule) 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(OutputCapsule capsule) Methods inherited from class com.ardor3d.image.Texture
getAnisotropicFilterPercent, getApply, getBorderColor, getClassTag, getCombineFuncAlpha, getCombineFuncRGB, getCombineOp0Alpha, getCombineOp0RGB, getCombineOp1Alpha, getCombineOp1RGB, getCombineOp2Alpha, getCombineOp2RGB, getCombineScaleAlpha, getCombineScaleRGB, getCombineSrc0Alpha, getCombineSrc0RGB, getCombineSrc1Alpha, getCombineSrc1RGB, getCombineSrc2Alpha, getCombineSrc2RGB, getConstantColor, getDepthCompareFunc, getDepthCompareMode, getDepthMode, getEnvironmentalMapMode, getEnvPlaneQ, getEnvPlaneR, getEnvPlaneS, getEnvPlaneT, getImage, getLodBias, getMagnificationFilter, getMinificationFilter, getRenderedTexturePixelDataType, getTextureBaseLevel, getTextureIdForContext, getTextureIdForContextAsInteger, getTextureKey, getTextureMatrix, getTextureMaxLevel, getTextureStoreFormat, hasBorder, isDirty, isStoreImage, removeFromIdCache, setAnisotropicFilterPercent, setApply, setBorderColor, setBorderColor, setCombineFuncAlpha, setCombineFuncRGB, setCombineOp0Alpha, setCombineOp0RGB, setCombineOp1Alpha, setCombineOp1RGB, setCombineOp2Alpha, setCombineOp2RGB, setCombineScaleAlpha, setCombineScaleRGB, setCombineSrc0Alpha, setCombineSrc0RGB, setCombineSrc1Alpha, setCombineSrc1RGB, setCombineSrc2Alpha, setCombineSrc2RGB, setConstantColor, setConstantColor, setDepthCompareFunc, setDepthCompareMode, setDepthMode, setDirty, setEnvironmentalMapMode, setEnvPlaneQ, setEnvPlaneR, setEnvPlaneS, setEnvPlaneT, setHasBorder, setImage, setLodBias, setMagnificationFilter, setMinificationFilter, setRenderedTexturePixelDataType, setStoreImage, setTextureBaseLevel, setTextureIdForContext, setTextureKey, setTextureMatrix, setTextureMaxLevel, setTextureStoreFormat
-
Constructor Details
-
Texture1D
public Texture1D()
-
-
Method Details
-
createSimpleClone
- Specified by:
createSimpleClonein classTexture
-
createSimpleClone
Description copied from class:TextureRetrieve a basic clone of this Texture (ie, clone everything but the image data, which is shared)- Overrides:
createSimpleClonein classTexture- Parameters:
rVal- the texture to clone- Returns:
- Texture
-
setWrap
setWrapsets the wrap mode of this texture for a particular axis.- Specified by:
setWrapin classTexture- Parameters:
axis- the texture axis to define a wrapmode on.mode- the wrap mode for the given axis of the texture.- Throws:
IllegalArgumentException- if axis or mode are null or invalid
-
setWrap
setWrapsets the wrap mode of this texture for all axis.- Specified by:
setWrapin classTexture- Parameters:
mode- the wrap mode for the given axis of the texture.- Throws:
IllegalArgumentException- if mode is null
-
getWrap
getWrapreturns the wrap mode for a given coordinate axis on this texture.- Specified by:
getWrapin classTexture- Parameters:
axis- the axis to return for- Returns:
- the wrap mode of the texture.
- Throws:
IllegalArgumentException- if axis is null
-
getType
- Specified by:
getTypein classTexture- Returns:
- the
Texture.Typeenum value of this Texture object.
-
equals
-
write
- Specified by:
writein interfaceSavable- Overrides:
writein classTexture- Throws:
IOException
-
read
- Specified by:
readin interfaceSavable- Overrides:
readin classTexture- Throws:
IOException
-