org.xith3d.utility.platform
Class EnvironmentCapabilities
java.lang.Object
org.xith3d.utility.platform.EnvironmentCapabilities
public class EnvironmentCapabilities
- extends java.lang.Object
Information regarding specific workarounds. Because there are so few
platform specific workarounds, we centralize the meta data about all of
them in one place. All methods of this class should query very simple
information and return boolean. All methods should leave system state
unaffected. If there is dynamic information necessary to complete the
query, it is acceptable to pass read-only parameters; i.e., for
anything that is not global to the system.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static EnvironmentCapabilities getInstance()
isVSyncSwitchingAllowed
public boolean isVSyncSwitchingAllowed(OpenGLLayer ogl)
isIllegalMakeCurrentRequired
public boolean isIllegalMakeCurrentRequired()