Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtOpenGL »

Classe « QGLFramebufferObject »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
            QGLFramebufferObject

Définition

class QGLFramebufferObject(QPaintDevice):

Description [extrait de QGLFramebufferObject.__doc__]

QGLFramebufferObject(self, size: PySide2.QtCore.QSize, attachment: PySide2.QtOpenGL.QGLFramebufferObject.Attachment, target: int = 3553, internal_format: int = 0)
QGLFramebufferObject(self, size: PySide2.QtCore.QSize, format: PySide2.QtOpenGL.QGLFramebufferObjectFormat)
QGLFramebufferObject(self, size: PySide2.QtCore.QSize, target: int = 3553)
QGLFramebufferObject(self, width: int, height: int, attachment: PySide2.QtOpenGL.QGLFramebufferObject.Attachment, target: int = 3553, internal_format: int = 0)
QGLFramebufferObject(self, width: int, height: int, format: PySide2.QtOpenGL.QGLFramebufferObjectFormat)
QGLFramebufferObject(self, width: int, height: int, target: int = 3553)

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
CombinedDepthStencilPySide2.QtOpenGL.QGLFramebufferObject.Attachment.CombinedDepthStencil
DepthPySide2.QtOpenGL.QGLFramebufferObject.Attachment.Depth
NoAttachmentPySide2.QtOpenGL.QGLFramebufferObject.Attachment.NoAttachment
PdmDepthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM

Attributs statiques hérités de la classe QPaintDevice

painters

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
Attachment
attachment(self) -> PySide2.QtOpenGL.QGLFramebufferObject.Attachment attachment(self) -> PySide2.QtOpenGL.QGLFramebufferObject.Attachment [extrait de attachment.__doc__]
bind(self) -> bool bind(self) -> bool [extrait de bind.__doc__]
bindDefault() -> bool bindDefault() -> bool [extrait de bindDefault.__doc__]
blitFramebuffer(target: PySide2.QtOpenGL.QGLFramebufferObject, targetRect: PySide2.QtCore.QRect, source: PySide2.QtOpenGL.QGLFramebufferObject, sourceRect: PySide2.QtCore.QRect, buffers: int = 16384, filter: int = 9728) blitFramebuffer(target: PySide2.QtOpenGL.QGLFramebufferObject, targetRect: PySide2.QtCore.QRect, source: PySide2.QtOpenGL.QGLFramebufferObject, sourceRect: PySide2.QtCore.QRect, buffers: int = 16384, filter: int = 9728) [extrait de blitFramebuffer.__doc__]
devType(self) -> int devType(self) -> int [extrait de devType.__doc__]
drawTexture drawTexture(self, point: PySide2.QtCore.QPointF, textureId: int, textureTarget: int = 3553) [extrait de drawTexture.__doc__]
format(self) -> PySide2.QtOpenGL.QGLFramebufferObjectFormat format(self) -> PySide2.QtOpenGL.QGLFramebufferObjectFormat [extrait de format.__doc__]
handle(self) -> int handle(self) -> int [extrait de handle.__doc__]
hasOpenGLFramebufferBlit() -> bool hasOpenGLFramebufferBlit() -> bool [extrait de hasOpenGLFramebufferBlit.__doc__]
hasOpenGLFramebufferObjects() -> bool hasOpenGLFramebufferObjects() -> bool [extrait de hasOpenGLFramebufferObjects.__doc__]
isBound(self) -> bool isBound(self) -> bool [extrait de isBound.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
metric(self, metric: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int metric(self, metric: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int [extrait de metric.__doc__]
paintEngine(self) -> PySide2.QtGui.QPaintEngine paintEngine(self) -> PySide2.QtGui.QPaintEngine [extrait de paintEngine.__doc__]
release(self) -> bool release(self) -> bool [extrait de release.__doc__]
size(self) -> PySide2.QtCore.QSize size(self) -> PySide2.QtCore.QSize [extrait de size.__doc__]
texture(self) -> int texture(self) -> int [extrait de texture.__doc__]
toImage(self) -> PySide2.QtGui.QImage toImage(self) -> PySide2.QtGui.QImage [extrait de toImage.__doc__]

Méthodes héritées de la classe QPaintDevice

__init_subclass__, __subclasshook__, colorCount, depth, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, height, heightMM, initPainter, logicalDpiX, logicalDpiY, PaintDeviceMetric, paintingActive, physicalDpiX, physicalDpiY, redirected, sharedPainter, width, widthMM

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__