|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.opengl.QGLFormat.OpenGLVersionFlag
public static final class QGLFormat.OpenGLVersionFlag
This enum describes the various OpenGL
versions that are recognized by Qt. Use the QGLFormat::openGLVersionFlags()
function to identify which versions that are supported at runtime. See also http://www.opengl.org for more information about the different revisions of OpenGL
.
openGLVersionFlags()
.
Method Summary | |
---|---|
static QGLFormat.OpenGLVersionFlags |
createQFlags(QGLFormat.OpenGLVersionFlag[] values)
|
static QGLFormat.OpenGLVersionFlag |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGLFormat.OpenGLVersionFlag |
valueOf(java.lang.String name)
|
static QGLFormat.OpenGLVersionFlag[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_None
OpenGL
is present or if no OpenGL
context is current.
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_1_1
OpenGL
version 1.1 or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_1_2
OpenGL
version 1.2 or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_1_3
OpenGL
version 1.3 or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_1_4
OpenGL
version 1.4 or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_1_5
OpenGL
version 1.5 or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_2_0
OpenGL
version 2.0 or higher is present. Note that version 2.0 supports all the functionality of version 1.5.
public static final QGLFormat.OpenGLVersionFlag OpenGL_Version_2_1
OpenGL
version 2.1 or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_ES_Common_Version_1_0
OpenGL
ES version 1.0 Common or higher is present. The Common profile supports all the features of Common Lite.
public static final QGLFormat.OpenGLVersionFlag OpenGL_ES_CommonLite_Version_1_0
OpenGL
ES version 1.0 Common Lite or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_ES_Common_Version_1_1
OpenGL
ES version 1.1 Common or higher is present. The Common profile supports all the features of Common Lite.
public static final QGLFormat.OpenGLVersionFlag OpenGL_ES_CommonLite_Version_1_1
OpenGL
ES version 1.1 Common Lite or higher is present.
public static final QGLFormat.OpenGLVersionFlag OpenGL_ES_Version_2_0
OpenGL
ES version 2.0 or higher is present. Note that OpenGL
ES version 2.0 does not support all the features of OpenGL
ES 1.x. So if OpenGL_ES_Version_2_0
is returned, none of the ES 1.x flags are returned.
Method Detail |
---|
public static QGLFormat.OpenGLVersionFlag[] values()
public static QGLFormat.OpenGLVersionFlag valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QGLFormat.OpenGLVersionFlags createQFlags(QGLFormat.OpenGLVersionFlag[] values)
public static QGLFormat.OpenGLVersionFlag resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |