org.jzy3d.chart
Class Settings
- java.lang.Object
-
- org.jzy3d.chart.Settings
-
public class Settings extends java.lang.ObjectSettingsis a singleton that holds general settings that configure Imaging classes instantiation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static com.jogamp.opengl.GLProfiledetectProfile()com.jogamp.opengl.GLCapabilitiesgetGLCapabilities()Returns a copy of the current GL2 capabilities.static SettingsgetInstance()Return the single allowed instance of Settings.booleanisHardwareAccelerated()Returns true if hardware acceleration is used for 3d graphics.voidsetHardwareAccelerated(boolean hardwareAccelerated)Modifies the acceleration status for allICanvas.Canvasinstantiations.java.lang.StringtoString()
-
-
-
Method Detail
-
detectProfile
public static com.jogamp.opengl.GLProfile detectProfile()
-
getInstance
public static Settings getInstance()
Return the single allowed instance of Settings.
-
setHardwareAccelerated
public void setHardwareAccelerated(boolean hardwareAccelerated)
Modifies the acceleration status for allICanvas.Canvasinstantiations. This doesn't modify the status of canvases that have allready been instantiated.
-
isHardwareAccelerated
public boolean isHardwareAccelerated()
Returns true if hardware acceleration is used for 3d graphics.
-
getGLCapabilities
public com.jogamp.opengl.GLCapabilities getGLCapabilities()
Returns a copy of the current GL2 capabilities.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG