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.QtGui »

Classe « QOpenGLFramebufferObject »

Informations générales

Héritage

builtins.object
    Object
        QOpenGLFramebufferObject

Définition

class QOpenGLFramebufferObject(Object):

Description [extrait de QOpenGLFramebufferObject.__doc__]

QOpenGLFramebufferObject(self, size: PySide2.QtCore.QSize, attachment: PySide2.QtGui.QOpenGLFramebufferObject.Attachment, target: int = 3553, internalFormat: int = 0)
QOpenGLFramebufferObject(self, size: PySide2.QtCore.QSize, format: PySide2.QtGui.QOpenGLFramebufferObjectFormat)
QOpenGLFramebufferObject(self, size: PySide2.QtCore.QSize, target: int = 3553)
QOpenGLFramebufferObject(self, width: int, height: int, attachment: PySide2.QtGui.QOpenGLFramebufferObject.Attachment, target: int = 3553, internalFormat: int = 0)
QOpenGLFramebufferObject(self, width: int, height: int, format: PySide2.QtGui.QOpenGLFramebufferObjectFormat)
QOpenGLFramebufferObject(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.QtGui.QOpenGLFramebufferObject.Attachment.CombinedDepthStencil
DepthPySide2.QtGui.QOpenGLFramebufferObject.Attachment.Depth
DontRestoreFramebufferBindingPySide2.QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy.DontRestoreFramebufferBinding
NoAttachmentPySide2.QtGui.QOpenGLFramebufferObject.Attachment.NoAttachment
RestoreFrameBufferBindingPySide2.QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy.RestoreFrameBufferBinding
RestoreFramebufferBindingToDefaultPySide2.QtGui.QOpenGLFramebufferObject.FramebufferRestorePolicy.RestoreFramebufferBindingToDefault

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__]
addColorAttachment addColorAttachment(self, size: PySide2.QtCore.QSize, internalFormat: int = 0) [extrait de addColorAttachment.__doc__]
Attachment
attachment(self) -> PySide2.QtGui.QOpenGLFramebufferObject.Attachment attachment(self) -> PySide2.QtGui.QOpenGLFramebufferObject.Attachment [extrait de attachment.__doc__]
bind(self) -> bool bind(self) -> bool [extrait de bind.__doc__]
bindDefault() -> bool bindDefault() -> bool [extrait de bindDefault.__doc__]
blitFramebuffer blitFramebuffer(target: PySide2.QtGui.QOpenGLFramebufferObject, source: PySide2.QtGui.QOpenGLFramebufferObject, buffers: int = 16384, filter: int = 9728) [extrait de blitFramebuffer.__doc__]
format(self) -> PySide2.QtGui.QOpenGLFramebufferObjectFormat format(self) -> PySide2.QtGui.QOpenGLFramebufferObjectFormat [extrait de format.__doc__]
FramebufferRestorePolicy
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__]
height(self) -> int height(self) -> int [extrait de height.__doc__]
isBound(self) -> bool isBound(self) -> bool [extrait de isBound.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
release(self) -> bool release(self) -> bool [extrait de release.__doc__]
setAttachment(self, attachment: PySide2.QtGui.QOpenGLFramebufferObject.Attachment) setAttachment(self, attachment: PySide2.QtGui.QOpenGLFramebufferObject.Attachment) [extrait de setAttachment.__doc__]
size(self) -> PySide2.QtCore.QSize size(self) -> PySide2.QtCore.QSize [extrait de size.__doc__]
sizes(self) -> typing.List[PySide2.QtCore.QSize] sizes(self) -> typing.List[PySide2.QtCore.QSize] [extrait de sizes.__doc__]
takeTexture takeTexture(self) -> int [extrait de takeTexture.__doc__]
texture(self) -> int texture(self) -> int [extrait de texture.__doc__]
textures(self) -> typing.List[int] textures(self) -> typing.List[int] [extrait de textures.__doc__]
toImage toImage(self) -> PySide2.QtGui.QImage [extrait de toImage.__doc__]
width(self) -> int width(self) -> int [extrait de width.__doc__]

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__