Package com.ardor3d.framework.jogl

Examples of com.ardor3d.framework.jogl.JoglCanvas


     * @return the canvas.
     */
    private JoglCanvas initJogl() {
        final JoglCanvasRenderer canvasRenderer = new JoglCanvasRenderer(this);
        final DisplaySettings settings = new DisplaySettings(800, 600, 24, 0, 0, 8, 0, 0, false, false);
        return new JoglCanvas(canvasRenderer, settings);
    }
View Full Code Here


     */
    private NativeCanvas initCanvas() {
        if ("true".equalsIgnoreCase(System.getProperty("jogl"))) {
            final JoglCanvasRenderer canvasRenderer = new JoglCanvasRenderer(this);
            final DisplaySettings settings = new DisplaySettings(width, height, 24, 0, 0, 8, 0, 0, false, false);
            return new JoglCanvas(canvasRenderer, settings);
        } else {
            final LwjglCanvasRenderer canvasRenderer = new LwjglCanvasRenderer(this);
            final DisplaySettings settings = new DisplaySettings(width, height, 24, 0, 0, 8, 0, 0, false, false);
            return new LwjglCanvas(settings, canvasRenderer);
        }
View Full Code Here

TOP

Related Classes of com.ardor3d.framework.jogl.JoglCanvas

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.