PythonQt.QtGui.QOpenGLFramebufferObjectFormat · declarations 001
Back to PythonQt.QtGui.QOpenGLFramebufferObjectFormat
attachment
attachment() -> Any
X.attachment()
Supplemental documentation: Qt 5 reference:
QOpenGLFramebufferObject::Attachment QOpenGLFramebufferObjectFormat::attachment() const
Returns the configuration of the depth and stencil buffers attached to a framebuffer object. The default is QOpenGLFramebufferObject::NoAttachment.
See also setAttachment().
Upstream PySide2 reference signatures (binding differences may apply):
attachment(self) -> PySide2.QtGui.QOpenGLFramebufferObject.Attachment
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#attachment
internalTextureFormat
internalTextureFormat() -> int
X.internalTextureFormat() -> int
Supplemental documentation: Qt 5 reference:
GLenum QOpenGLFramebufferObjectFormat::internalTextureFormat() const
Returns the internal format of a framebuffer object's texture or multisample framebuffer
object's color buffer. The default is GL_RGBA8 on desktop OpenGL systems, and
GL_RGBA on OpenGL/ES systems.
See also setInternalTextureFormat().
Upstream PySide2 reference signatures (binding differences may apply):
internalTextureFormat(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#internalTextureFormat
mipmap
mipmap() -> bool
X.mipmap() -> bool
Supplemental documentation: Qt 5 reference:
bool QOpenGLFramebufferObjectFormat::mipmap() const
Returns true if mipmapping is enabled.
See also setMipmap().
Upstream PySide2 reference signatures (binding differences may apply):
mipmap(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#mipmap
operator_assign
operator_assign(other: Any) -> Any
X.operator_assign(other) -> PythonQt.QtGui.QOpenGLFramebufferObjectFormat
samples
samples() -> int
X.samples() -> int
Supplemental documentation: Qt 5 reference:
int QOpenGLFramebufferObjectFormat::samples() const
Returns the number of samples per pixel if a framebuffer object is a multisample framebuffer object. Otherwise, returns 0. The default value is 0.
See also setSamples().
Upstream PySide2 reference signatures (binding differences may apply):
samples(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#samples
setAttachment
setAttachment(attachment: Any) -> None
X.setAttachment(attachment)
Supplemental documentation: Qt 5 reference:
void QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObject::Attachment attachment)
Sets the attachment configuration of a framebuffer object to attachment.
See also attachment().
Upstream PySide2 reference signatures (binding differences may apply):
setAttachment(self, attachment: PySide2.QtGui.QOpenGLFramebufferObject.Attachment) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#setAttachment
setInternalTextureFormat
setInternalTextureFormat(internalTextureFormat: int) -> None
X.setInternalTextureFormat(internalTextureFormat)
Supplemental documentation: Qt 5 reference:
void QOpenGLFramebufferObjectFormat::setInternalTextureFormat(GLenum internalTextureFormat)
Sets the internal format of a framebuffer object's texture or multisample framebuffer object's color buffer to internalTextureFormat.
See also internalTextureFormat().
Upstream PySide2 reference signatures (binding differences may apply):
setInternalTextureFormat(self, internalTextureFormat: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#setInternalTextureFormat
setMipmap
setMipmap(enabled: bool) -> None
X.setMipmap(enabled)
Supplemental documentation: Qt 5 reference:
void QOpenGLFramebufferObjectFormat::setMipmap(bool enabled)
Enables mipmapping if enabled is true; otherwise disables it.
Mipmapping is disabled by default.
If mipmapping is enabled, additional memory will be allocated for the mipmap levels. The mipmap levels can be updated by binding the texture and calling glGenerateMipmap(). Mipmapping cannot be enabled for multisampled framebuffer objects.
See also mipmap() and QOpenGLFramebufferObject::texture().
Upstream PySide2 reference signatures (binding differences may apply):
setMipmap(self, enabled: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#setMipmap
setSamples
setSamples(samples: int) -> None
X.setSamples(samples)
Supplemental documentation: Qt 5 reference:
void QOpenGLFramebufferObjectFormat::setSamples(int samples)
Sets the number of samples per pixel for a multisample framebuffer object to samples. The default sample count of 0 represents a regular non-multisample framebuffer object.
If the desired amount of samples per pixel is not supported by the hardware then the
maximum number of samples per pixel will be used. Note that multisample framebuffer
objects cannot be bound as textures. Also, the GL_EXT_framebuffer_multisample
extension is required to create a framebuffer with more than one sample per pixel.
See also samples().
Upstream PySide2 reference signatures (binding differences may apply):
setSamples(self, samples: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#setSamples
setTextureTarget
setTextureTarget(target: int) -> None
X.setTextureTarget(target)
Supplemental documentation: Qt 5 reference:
void QOpenGLFramebufferObjectFormat::setTextureTarget(GLenum target)
Sets the texture target of the texture attached to a framebuffer object to target. Ignored for multisample framebuffer objects.
See also textureTarget() and samples().
Upstream PySide2 reference signatures (binding differences may apply):
setTextureTarget(self, target: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#setTextureTarget
textureTarget
textureTarget() -> int
X.textureTarget() -> int
Supplemental documentation: Qt 5 reference:
GLenum QOpenGLFramebufferObjectFormat::textureTarget() const
Returns the texture target of the texture attached to a framebuffer object. Ignored for
multisample framebuffer objects. The default is GL_TEXTURE_2D.
See also setTextureTarget() and samples().
Upstream PySide2 reference signatures (binding differences may apply):
textureTarget(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qopenglframebufferobjectformat.html#textureTarget