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
-
Method Summary
Modifier and TypeMethodDescriptioncreateSimpleClone
(Texture rVal) Retrieve a basic clone of this Texture (ie, clone everything but the image data, which is shared)boolean
getType()
getWrap
(Texture.WrapAxis axis) getWrap
returns the wrap mode for a given coordinate axis on this texture.void
read
(InputCapsule capsule) 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.void
write
(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:
createSimpleClone
in classTexture
-
createSimpleClone
Description copied from class:Texture
Retrieve a basic clone of this Texture (ie, clone everything but the image data, which is shared)- Overrides:
createSimpleClone
in classTexture
- Parameters:
rVal
- the texture to clone- Returns:
- Texture
-
setWrap
setWrap
sets the wrap mode of this texture for a particular axis.- Specified by:
setWrap
in 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
setWrap
sets the wrap mode of this texture for all axis.- Specified by:
setWrap
in classTexture
- Parameters:
mode
- the wrap mode for the given axis of the texture.- Throws:
IllegalArgumentException
- if mode is null
-
getWrap
getWrap
returns the wrap mode for a given coordinate axis on this texture.- Specified by:
getWrap
in classTexture
- Parameters:
axis
- the axis to return for- Returns:
- the wrap mode of the texture.
- Throws:
IllegalArgumentException
- if axis is null
-
getType
- Specified by:
getType
in classTexture
- Returns:
- the
Texture.Type
enum value of this Texture object.
-
equals
-
write
- Specified by:
write
in interfaceSavable
- Overrides:
write
in classTexture
- Throws:
IOException
-
read
- Specified by:
read
in interfaceSavable
- Overrides:
read
in classTexture
- Throws:
IOException
-