java.lang.Object
io.qt.QtObject
io.qt.opengl.QOpenGLVersionProfile
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
Represents the version and if applicable the profile of an OpenGL context
Java wrapper for Qt class QOpenGLVersionProfile
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclone()Creates and returns a copy of this object.booleanSeeoperator==(QOpenGLVersionProfile,QOpenGLVersionProfile) inthashCode()Returns the objects's hash code computed byqHash(QOpenGLVersionProfile).final booleanfinal booleanfinal booleanisValid()final io.qt.gui.QSurfaceFormat.OpenGLContextProfileprofile()final voidsetProfile(io.qt.gui.QSurfaceFormat.OpenGLContextProfile profile) final 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
public QOpenGLVersionProfile(io.qt.gui.QSurfaceFormat format)
-
-
Method Details
-
hasProfiles
@QtUninvokable public final boolean hasProfiles() -
isLegacyVersion
@QtUninvokable public final boolean isLegacyVersion() -
isValid
@QtUninvokable public final boolean isValid() -
assign
-
profile
@QtUninvokable public final io.qt.gui.QSurfaceFormat.OpenGLContextProfile profile() -
setProfile
@QtUninvokable public final void setProfile(io.qt.gui.QSurfaceFormat.OpenGLContextProfile profile) -
setVersion
@QtUninvokable public final void setVersion(int majorVersion, int minorVersion) -
version
-
equals
See
operator==(QOpenGLVersionProfile,QOpenGLVersionProfile) - Overrides:
equalsin classio.qt.QtObject- Parameters:
other- other object- Returns:
- true if the native counterpart of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode()Returns the objects's hash code computed byqHash(QOpenGLVersionProfile). -
toString
See
operator<<(QDebug,QOpenGLVersionProfile) -
clone
Creates and returns a copy of this object.
-