Skip to content

PythonQt.QtOpenGL.QGLContext · declarations 002

Back to PythonQt.QtOpenGL.QGLContext

swapBuffers

swapBuffers() -> None

X.swapBuffers()

Supplemental documentation: Qt 5 reference:

[virtual] void QGLContext::swapBuffers() const

Call this to finish a frame of OpenGL rendering, and make sure to call makeCurrent() again before issuing any further OpenGL commands, for example as part of a new frame.

Upstream PySide2 reference signatures (binding differences may apply):

swapBuffers(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qglcontext.html#swapBuffers

textureCacheLimit

textureCacheLimit() -> int

X.textureCacheLimit() -> int

Supplemental documentation: Qt 5 reference:

[static] int QGLContext::textureCacheLimit()

Returns the current texture cache limit in kilobytes.

See also setTextureCacheLimit().

Upstream PySide2 reference signatures (binding differences may apply):

textureCacheLimit() -> int

Source: https://doc.qt.io/archives/qt-5.15/qglcontext.html#textureCacheLimit

windowCreated

windowCreated() -> bool

X.windowCreated() -> bool

Supplemental documentation: Qt 5 reference:

[protected] bool QGLContext::windowCreated() const

Returns true if a window has been created for this context; otherwise returns false.

See also setWindowCreated().

Upstream PySide2 reference signatures (binding differences may apply):

windowCreated(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qglcontext.html#windowCreated