You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/org/trinitydesktop/qt/TQGLFormat.java

58 lines
2.1 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.qt.Qt;
public class TQGLFormat extends TQGL {
protected TQGLFormat(Class dummy){super((Class) null);}
public TQGLFormat() {
super((Class) null);
newTQGLFormat();
}
private native void newTQGLFormat();
public TQGLFormat(int options, int plane) {
super((Class) null);
newTQGLFormat(options,plane);
}
private native void newTQGLFormat(int options, int plane);
public TQGLFormat(int options) {
super((Class) null);
newTQGLFormat(options);
}
private native void newTQGLFormat(int options);
public native boolean doubleBuffer();
public native void setDoubleBuffer(boolean enable);
public native boolean depth();
public native void setDepth(boolean enable);
public native boolean rgba();
public native void setRgba(boolean enable);
public native boolean alpha();
public native void setAlpha(boolean enable);
public native boolean accum();
public native void setAccum(boolean enable);
public native boolean stencil();
public native void setStencil(boolean enable);
public native boolean stereo();
public native void setStereo(boolean enable);
public native boolean directRendering();
public native void setDirectRendering(boolean enable);
public native boolean hasOverlay();
public native void setOverlay(boolean enable);
public native int plane();
public native void setPlane(int plane);
public native void setOption(int opt);
public native boolean testOption(int opt);
public static native TQGLFormat defaultFormat();
public static native void setDefaultFormat(TQGLFormat f);
public static native TQGLFormat defaultOverlayFormat();
public static native void setDefaultOverlayFormat(TQGLFormat f);
public static native boolean hasOpenGL();
public static native boolean hasOpenGLOverlays();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}