java.lang.Object
io.qt.QtObject
io.qt.opengl.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
- Parameters:
other
-
-
QOpenGLVersionProfile
- Parameters:
format
-
-
QOpenGLVersionProfile
Overloaded constructor for
QOpenGLVersionProfile(io.qt.gui.QSurfaceFormat)
.
-
-
Method Details
-
hasProfiles
- Returns:
-
isLegacyVersion
- Returns:
-
isValid
- Returns:
-
assign
- Parameters:
rhs
-
-
equals
See
operator==(QOpenGLVersionProfile,
QOpenGLVersionProfile) - Parameters:
rhs
-- Returns:
-
profile
- Returns:
-
setProfile
- Parameters:
profile
-
-
setVersion
- Parameters:
majorVersion
-minorVersion
-
-
version
- Returns:
-
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.
See
QOpenGLVersionProfile::
QOpenGLVersionProfile(QOpenGLVersionProfile)
-