Class QOpenGLVersionProfile
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
ConstructorsConstructorDescriptionQOpenGLVersionProfile(QSurfaceFormat format) Overloaded constructor forQOpenGLVersionProfile(io.qt.gui.QSurfaceFormat). -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclone()Creates and returns a copy of this object.final booleanSeeoperator==(QOpenGLVersionProfile,QOpenGLVersionProfile) booleanSeeoperator==(QOpenGLVersionProfile,QOpenGLVersionProfile) inthashCode()Returns the objects's hash code computed byqHash(QOpenGLVersionProfile).final booleanfinal booleanfinal booleanisValid()profile()final voidfinal voidsetVersion(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
-
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)
-