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
-
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.
-