org.xith3d.scenegraph
Class TextureCubeMap
java.lang.Object
org.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.NodeComponent
org.xith3d.scenegraph.Texture
org.xith3d.scenegraph.TextureCubeMap
- All Implemented Interfaces:
- org.jagatoo.datatypes.Enableable, org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.jagatoo.loaders.textures.AbstractTexture
public class TextureCubeMap
- extends Texture
|
Constructor Summary |
TextureCubeMap(org.jagatoo.opengl.enums.TextureFormat format,
int face,
CubeTextureSet textureSet)
|
TextureCubeMap(org.jagatoo.opengl.enums.TextureFormat format,
int face,
java.lang.String[] textureNames)
|
| Methods inherited from class org.xith3d.scenegraph.Texture |
addImage, enableAutoFreeLocalData, finalize, freeOpenGLResources, getBoundaryColor, getBoundaryColor, getBoundaryModeS, getBoundaryModeT, getBoundaryWidth, getCacheKey, getDefaultFilter, getFilter, getFormat, getHeight, getImage, getImagesCount, getMipMapMode, getOpenGLReferences, getOriginalHeight, getOriginalSize, getOriginalWidth, getResourceName, getSize, getStateId, getType, getWidth, hasSizeChanged, isDirty, isEnabled, isMarkedAsLocalDataToBeFreed, removeFromCache, setBoundaryColor, setBoundaryColor, setBoundaryModeS, setBoundaryModes, setBoundaryModeT, setBoundaryWidth, setCacheKey, setDefaultFilter, setEnabled, setFilter, setImage, setImage, setResourceName, setSizeChanged, toString |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jagatoo.loaders.textures.AbstractTexture |
getName, setName |
POSITIVE_X
public static final int POSITIVE_X
- See Also:
- Constant Field Values
NEGATIVE_X
public static final int NEGATIVE_X
- See Also:
- Constant Field Values
POSITIVE_Y
public static final int POSITIVE_Y
- See Also:
- Constant Field Values
NEGATIVE_Y
public static final int NEGATIVE_Y
- See Also:
- Constant Field Values
POSITIVE_Z
public static final int POSITIVE_Z
- See Also:
- Constant Field Values
NEGATIVE_Z
public static final int NEGATIVE_Z
- See Also:
- Constant Field Values
TextureCubeMap
public TextureCubeMap(org.jagatoo.opengl.enums.TextureFormat format,
int face,
java.lang.String[] textureNames)
TextureCubeMap
public TextureCubeMap(org.jagatoo.opengl.enums.TextureFormat format,
int face,
CubeTextureSet textureSet)
checkImageType
protected void checkImageType(TextureImage image)
- This method is called by
Texture.setImage(int, TextureImage).
It checks the added image's type and throws an exception,
if the type is not accepted.
- Specified by:
checkImageType in class Texture
setImage
public void setImage(int level,
int face,
TextureImage image)
setImage
public void setImage(int level,
int face,
java.lang.String textureName)
setImages
public void setImages(int face,
TextureImage[] images)
setImages
public void setImages(int face,
java.lang.String[] images)
getImage
public TextureImage getImage(int mipmap,
int face)
duplicateNodeComponent
protected void duplicateNodeComponent(NodeComponent original,
boolean forceDuplicate)
-
- Overrides:
duplicateNodeComponent in class Texture
cloneNodeComponent
public TextureCubeMap cloneNodeComponent(boolean forceDuplicate)
-
- Specified by:
cloneNodeComponent in class NodeComponent