java.lang.Object
io.qt.internal.QtJambiObject
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
ConstructorsModifierConstructorDescriptionQOpenGLVersionProfile(io.qt.gui.QSurfaceFormat format) protectedQOpenGLVersionProfile(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()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()version()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QOpenGLVersionProfile
public QOpenGLVersionProfile() -
QOpenGLVersionProfile
-
QOpenGLVersionProfile
public QOpenGLVersionProfile(io.qt.gui.QSurfaceFormat format) -
QOpenGLVersionProfile
protected QOpenGLVersionProfile(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
hasProfiles
@QtUninvokable public final boolean hasProfiles() -
isLegacyVersion
@QtUninvokable public final boolean isLegacyVersion() -
isValid
@QtUninvokable public final boolean isValid() -
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
Description copied from class:io.qt.QtObjectUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
toString
-
clone
-