Package org.jzy3d.chart
Class Settings
- java.lang.Object
-
- org.jzy3d.chart.Settings
-
-
Field Summary
Fields Modifier and Type Field Description protected com.jogamp.opengl.GLCapabilities
glCapabilities
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.jogamp.opengl.GLProfile
detectProfile()
com.jogamp.opengl.GLCapabilities
getGLCapabilities()
com.jogamp.opengl.GLCapabilities
getGLCapabilitiesClone()
Returns a copy of the current GL2 capabilities.static Settings
getInstance()
Return the single allowed instance of Settings.static com.jogamp.opengl.GLCapabilities
getOffscreenCapabilities(com.jogamp.opengl.GLProfile glp)
boolean
isHardwareAccelerated()
Returns true if hardware acceleration is used for 3d graphics.void
setGLCapabilities(com.jogamp.opengl.GLCapabilities glCapabilities)
void
setHardwareAccelerated(boolean hardwareAccelerated)
Modifies the acceleration status for allINativeCanvas.Canvas
instantiations.String
toString()
-
-
-
Method Detail
-
detectProfile
public static com.jogamp.opengl.GLProfile detectProfile()
-
getOffscreenCapabilities
public static com.jogamp.opengl.GLCapabilities getOffscreenCapabilities(com.jogamp.opengl.GLProfile glp)
-
getInstance
public static Settings getInstance()
Return the single allowed instance of Settings.
-
setHardwareAccelerated
public void setHardwareAccelerated(boolean hardwareAccelerated)
Modifies the acceleration status for allINativeCanvas.Canvas
instantiations. This doesn't modify the status of canvases that have already been instantiated.
-
isHardwareAccelerated
public boolean isHardwareAccelerated()
Returns true if hardware acceleration is used for 3d graphics.
-
getGLCapabilitiesClone
public com.jogamp.opengl.GLCapabilities getGLCapabilitiesClone()
Returns a copy of the current GL2 capabilities.
-
getGLCapabilities
public com.jogamp.opengl.GLCapabilities getGLCapabilities()
-
setGLCapabilities
public void setGLCapabilities(com.jogamp.opengl.GLCapabilities glCapabilities)
-
-