PythonQt.Qt.QOpenGLVersionProfile
QOpenGLVersionProfile
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
An object of this class can be passed to QOpenGLContext::versionFunctions() to request a functions object for a specific version and profile of OpenGL.
It also contains some helper functions to check if a version supports profiles or is a legacy version.
Source: https://doc.qt.io/archives/qt-5.15/qopenglversionprofile.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
hasProfiles |
function | (self) -> bool |
X.hasProfiles() -> bool (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
isLegacyVersion |
function | (self) -> bool |
X.isLegacyVersion() -> bool (shared captured text) |
isValid |
function | (self) -> bool |
X.isValid() -> bool (shared captured text) |
operator_assign |
function | (self, rhs: Any) -> Any |
X.operator_assign(rhs) -> PythonQt.QtGui.QOpenGLVersionProfile (shared captured text) |
profile |
function | (self) -> Any |
Returns the OpenGL profile. (shared captured text) |
setProfile |
function | (self, profile: Any) -> None |
Sets the OpenGL profile profile. (shared captured text) |
setVersion |
function | (self, majorVersion: int, minorVersion: int) -> None |
X.setVersion(majorVersion, minorVersion) (shared captured text) |
version |
function | (self) -> Any |
Returns a [QPair](https://doc.qt.io/archives/qt-5.15/qpair.html)\<int,int\> where the components represent the major and minor OpenGL version numbers respectively. (shared captured text) |