java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QOpenGLVersionProfile
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QOpenGLVersionProfile extends QtObject implements Cloneable
Represents the version and if applicable the profile of an OpenGL context
Java wrapper for Qt class QOpenGLVersionProfile
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QOpenGLVersionProfile()
QOpenGLVersionProfile(QOpenGLVersionProfile other)
QOpenGLVersionProfile(QSurfaceFormat format)
protected
QOpenGLVersionProfile(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QOpenGLVersionProfile
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
hasProfiles()
boolean
isLegacyVersion()
boolean
isValid()
QSurfaceFormat.OpenGLContextProfile
profile()
void
setProfile(QSurfaceFormat.OpenGLContextProfile profile)
void
setVersion(int majorVersion, int minorVersion)
String
toString()
QPair<Integer,Integer>
version()
-
Constructor Details
-
QOpenGLVersionProfile
public QOpenGLVersionProfile() -
QOpenGLVersionProfile
-
QOpenGLVersionProfile
-
QOpenGLVersionProfile
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
hasProfiles
-
isLegacyVersion
-
isValid
-
profile
-
setProfile
-
setVersion
-
version
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-