Package com.ardor3d.util.scenegraph

Examples of com.ardor3d.util.scenegraph.CompileOptions


    }

    @Override
    protected void renderExample(final Renderer renderer) {
        if (first) {
            final CompileOptions options = new CompileOptions();
            options.setDisplayList(true);
            SceneCompiler.compile(_shapeRoot, _canvas.getCanvasRenderer().getRenderer(), options);
            first = false;
            _delegate = _shapeRoot.getRenderDelegate(ContextManager.getCurrentContext().getGlContextRep());
        }
View Full Code Here


            System.out.printf("%7.1f FPS\n", fps);
        }
    }

    private void buildDisplayListDelegate(final Renderer renderer) {
        final CompileOptions options = new CompileOptions();
        options.setDisplayList(true);
        SceneCompiler.compile(heavyNode, renderer, options);

        final Object contextRef = ContextManager.getCurrentContext().getGlContextRep();
        final RenderDelegate delegate = heavyNode.getRenderDelegate(contextRef);
View Full Code Here

TOP

Related Classes of com.ardor3d.util.scenegraph.CompileOptions

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.