com.xith3d.render.jogl
Class PBufferCanvas3D
java.lang.Object
Canvas3D
com.xith3d.render.jogl.PBufferCanvas3D
public class PBufferCanvas3D
- extends Canvas3D
- Author:
- Nicolas Brodu
This Canvas3D can be added to a View and will provide
rendering into an Image made from a pbuffer => uses hardware acceleration
See notes for PBufferCanvasPeer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBufferCanvas3D
public PBufferCanvas3D(int width,
int height)
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
PBufferCanvas3D
public PBufferCanvas3D(int width,
int height,
java.lang.Object owner)
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
initContext
public static void initContext(java.lang.Object owner)
updateImage
public java.awt.image.BufferedImage updateImage()
getLastImage
public java.awt.image.BufferedImage getLastImage()
setBounds
public void setBounds(int x,
int y,
int width,
int height)