Package com.jme.system

Examples of com.jme.system.DisplaySystem


        // grab display information from the renderer
        final Semaphore gs = new Semaphore(0);       
        SceneWorker.addWorker(new WorkProcessor.WorkCommit() {
            public void commit() {
                try {
                    DisplaySystem ds = DisplaySystem.getDisplaySystem("JOGL");
                    out.append("Display adapter:  ").append(ds.getAdapter()).append("\n");
                    out.append("Display vendor:   ").append(ds.getDisplayVendor()).append("\n");
                    out.append("Driver version:   ").append(ds.getDriverVersion()).append("\n");
                    out.append("Display renderer: ").append(ds.getDisplayRenderer()).append("\n");
                    out.append("API Version:      ").append(ds.getDisplayAPIVersion()).append("\n");
                    out.append("\n\n");
                } finally {
                    gs.release();
                }
            }
View Full Code Here

TOP

Related Classes of com.jme.system.DisplaySystem

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.