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's class QOpenGLVersionProfile
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQOpenGLVersionProfile(QSurfaceFormat format) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanUsed 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.inthashCode()final booleanfinal booleanfinal booleanisValid()profile()final voidfinal voidsetVersion(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:io.qt.QtObjectUsed 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
-