org.kde.qt
Class QGLFormat
java.lang.Object
org.kde.qt.QGL
org.kde.qt.QGLFormat
- All Implemented Interfaces:
- QtSupport
public class QGLFormat
- extends QGL
Fields inherited from class org.kde.qt.QGL |
AccumBuffer, AlphaChannel, ColorIndex, DepthBuffer, DirectRendering, DoubleBuffer, HasOverlay, IndirectRendering, NoAccumBuffer, NoAlphaChannel, NoDepthBuffer, NoOverlay, NoStencilBuffer, NoStereoBuffers, Rgba, SingleBuffer, StencilBuffer, StereoBuffers |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QGLFormat
protected QGLFormat(java.lang.Class dummy)
QGLFormat
public QGLFormat()
QGLFormat
public QGLFormat(int options,
int plane)
QGLFormat
public QGLFormat(int options)
doubleBuffer
public boolean doubleBuffer()
setDoubleBuffer
public void setDoubleBuffer(boolean enable)
depth
public boolean depth()
setDepth
public void setDepth(boolean enable)
rgba
public boolean rgba()
setRgba
public void setRgba(boolean enable)
alpha
public boolean alpha()
setAlpha
public void setAlpha(boolean enable)
accum
public boolean accum()
setAccum
public void setAccum(boolean enable)
stencil
public boolean stencil()
setStencil
public void setStencil(boolean enable)
stereo
public boolean stereo()
setStereo
public void setStereo(boolean enable)
directRendering
public boolean directRendering()
setDirectRendering
public void setDirectRendering(boolean enable)
hasOverlay
public boolean hasOverlay()
setOverlay
public void setOverlay(boolean enable)
plane
public int plane()
setPlane
public void setPlane(int plane)
setOption
public void setOption(int opt)
testOption
public boolean testOption(int opt)
defaultFormat
public static QGLFormat defaultFormat()
setDefaultFormat
public static void setDefaultFormat(QGLFormat f)
defaultOverlayFormat
public static QGLFormat defaultOverlayFormat()
setDefaultOverlayFormat
public static void setDefaultOverlayFormat(QGLFormat f)
hasOpenGL
public static boolean hasOpenGL()
hasOpenGLOverlays
public static boolean hasOpenGLOverlays()
finalize
protected void finalize()
throws java.lang.InternalError
- Deletes the wrapped C++ instance
- Overrides:
finalize
in class QGL
- Throws:
java.lang.InternalError
dispose
public void dispose()
- Delete the wrapped C++ instance ahead of finalize()
- Overrides:
dispose
in class QGL
isDisposed
public boolean isDisposed()
- Has the wrapped C++ instance been deleted?
- Overrides:
isDisposed
in class QGL