java.lang.Object
io.qt.QtObject
io.qt.gui.QOpenGLVersionProfile
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents the version and if applicable the profile of an OpenGL context
Java wrapper for Qt class QOpenGLVersionProfile
-
Constructor Summary
ConstructorDescriptionQOpenGLVersionProfile
(QSurfaceFormat format) Overloaded constructor forQOpenGLVersionProfile(io.qt.gui.QSurfaceFormat)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clone()
Creates and returns a copy of this object.final boolean
Seeoperator==(QOpenGLVersionProfile,
QOpenGLVersionProfile) boolean
Seeoperator==(QOpenGLVersionProfile,
QOpenGLVersionProfile) int
hashCode()
Returns the objects's hash code computed byqHash(QOpenGLVersionProfile)
.final boolean
final boolean
final boolean
isValid()
profile()
final void
final void
setVersion
(int majorVersion, int minorVersion) toString()
Seeoperator<<(QDebug,
QOpenGLVersionProfile) version()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QOpenGLVersionProfile
public QOpenGLVersionProfile() -
QOpenGLVersionProfile
-
QOpenGLVersionProfile
-
QOpenGLVersionProfile
Overloaded constructor for
QOpenGLVersionProfile(io.qt.gui.QSurfaceFormat)
.
-
-
Method Details
-
hasProfiles
-
isLegacyVersion
-
isValid
-
assign
-
equals
See
operator==(QOpenGLVersionProfile,
QOpenGLVersionProfile) -
profile
-
setProfile
-
setVersion
-
version
-
equals
See
operator==(QOpenGLVersionProfile,
QOpenGLVersionProfile) -
hashCode
Returns the objects's hash code computed byqHash(QOpenGLVersionProfile)
. -
toString
See
operator<<(QDebug,
QOpenGLVersionProfile) -
clone
Creates and returns a copy of this object.
-