Class JoGLCanvasFactory
java.lang.Object
org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvasFactory
- Author:
- Pierre Lando
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Method Details
-
createCanvas
Create a canvas from an auto drawable object.- Parameters:
autoDrawable
- the auto drawable object.- Returns:
- a canvas based on the given auto drawable object.
-
createCanvas
Create a canvas for an offscreen rendering.- Parameters:
width
- the widthheight
- the height- Returns:
- a canvas.
-