jjdh.opengl.scenegraph.simple.core
Class TextureNode
java.lang.Object
dh.java.math.graph.AbstractTreeNode<ScenegraphNode>
jjdh.opengl.scenegraph.simple.core.ContainerScenegraphNode
jjdh.opengl.scenegraph.simple.core.TextureNode
- All Implemented Interfaces:
- TreeNode<ScenegraphNode>, Iterable<ScenegraphNode>, Renderable, ScenegraphNode
public class TextureNode
- extends ContainerScenegraphNode
Field Summary |
private com.sun.opengl.util.texture.Texture |
texture
|
Method Summary |
void |
render(javax.media.opengl.GL gl)
|
void |
setTexture(com.sun.opengl.util.texture.Texture t)
|
texture
private com.sun.opengl.util.texture.Texture texture
TextureNode
public TextureNode(com.sun.opengl.util.texture.Texture t)
TextureNode
public TextureNode(com.sun.opengl.util.texture.Texture t,
ScenegraphNode... nodes)
render
public void render(javax.media.opengl.GL gl)
- Specified by:
render
in interface Renderable
- Overrides:
render
in class ContainerScenegraphNode
setTexture
public void setTexture(com.sun.opengl.util.texture.Texture t)
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.