Examples of numCanvas3Ds()


Examples of javax.media.j3d.View.numCanvas3Ds()

    private void cleanupViewer(Viewer v) {
        // Get view associated with this SimpleUniverse
        View view = v.getView();
        // cleanup all off-screen canvases
        for (int i = view.numCanvas3Ds() - 1; i >= 0; i--) {
            Canvas3D c = view.getCanvas3D(i);
            if (c.isOffScreen()) {
                c.setOffScreenBuffer(null);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.