org.xith3d.render.jsr231
Class OldStyleGLCapabilitiesChooser

java.lang.Object
  extended by org.xith3d.render.jsr231.OldStyleGLCapabilitiesChooser
All Implemented Interfaces:
javax.media.opengl.GLCapabilitiesChooser

public class OldStyleGLCapabilitiesChooser
extends java.lang.Object
implements javax.media.opengl.GLCapabilitiesChooser

The default implementation of the GLCapabilitiesChooser interface, which provides consistent visual selection behavior across platforms. The precise algorithm is deliberately left loosely specified. Some properties are:


Constructor Summary
OldStyleGLCapabilitiesChooser()
           
 
Method Summary
 int chooseCapabilities(javax.media.opengl.GLCapabilities desired, javax.media.opengl.GLCapabilities[] available, int windowSystemRecommendedChoice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OldStyleGLCapabilitiesChooser

public OldStyleGLCapabilitiesChooser()
Method Detail

chooseCapabilities

public int chooseCapabilities(javax.media.opengl.GLCapabilities desired,
                              javax.media.opengl.GLCapabilities[] available,
                              int windowSystemRecommendedChoice)
Specified by:
chooseCapabilities in interface javax.media.opengl.GLCapabilitiesChooser