List of usage examples for javafx.application ConditionalFeature SCENE3D
ConditionalFeature SCENE3D
To view the source code for javafx.application ConditionalFeature SCENE3D.
Click Source Link
From source file:net.rptools.tokentool.client.TokenTool.java
@Override public void init() throws Exception { appInstance = this; VERSION = getVersion();// ww w . jav a 2 s . c o m // Lets install/update the overlays if newer version AppSetup.install(VERSION); log = LogManager.getLogger(TokenTool.class); log.info("3D Hardware Available? " + Platform.isSupported(ConditionalFeature.SCENE3D)); // Now lets cache any overlays we find and update preLoader with progress overlayCount = (int) Files.walk(AppConstants.OVERLAY_DIR.toPath()).filter(Files::isRegularFile).count(); overlayTreeItems = cacheOverlays(AppConstants.OVERLAY_DIR, null, THUMB_SIZE); // All Done! notifyPreloader(new Preloader.ProgressNotification(1.0)); }