summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQGLFormat.java
blob: 402f5d8de093139b0a7b3ce0d1743457543677cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

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();
}