java.lang.Object
io.qt.internal.NativeUtility.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's class QOpenGLVersionProfile
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQOpenGLVersionProfile
(QSurfaceFormat format) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final boolean
final boolean
final boolean
isValid()
profile()
final void
final void
setVersion
(int majorVersion, int minorVersion) toString()
version()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QOpenGLVersionProfile
public QOpenGLVersionProfile() -
QOpenGLVersionProfile
-
QOpenGLVersionProfile
-
QOpenGLVersionProfile
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
hasProfiles
-
isLegacyVersion
-
isValid
-
profile
-
setProfile
-
setVersion
-
version
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-