Package javax.media.opengl

Examples of javax.media.opengl.GLCapabilities.copyFrom()


        // Assuming that the offscreen drawable will/can support the chosen GLCapabilities
      // of the offscreen Canvas3D

        final GLCapabilities offCaps = new GLCapabilities(profile);
        offCaps.copyFrom(canvasCaps);

        // double bufffering only if scene antialiasing is required/preferred and supported
        if (offCaps.getSampleBuffers() == false) {
          offCaps.setDoubleBuffered(false);
          offCaps.setNumSamples(0);
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.