public final class JoGLCanvasFactory
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static Canvas |
createCanvas(int width,
int height) |
Create a canvas for an offscreen rendering.
|
static Canvas |
createCanvas(com.jogamp.opengl.GLAutoDrawable autoDrawable) |
Create a canvas from an auto drawable object.
|
public static Canvas createCanvas(com.jogamp.opengl.GLAutoDrawable autoDrawable)
autoDrawable
- the auto drawable object.public static Canvas createCanvas(int width, int height)
width
- the widthheight
- the height