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 « PySide6.QtOpenGL »

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: PySide6.QtCore.QSize, attachment: PySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment, target: int = 3553, internalFormat: int = 0) -> None
QOpenGLFramebufferObject(self, size: PySide6.QtCore.QSize, format: PySide6.QtOpenGL.QOpenGLFramebufferObjectFormat) -> None
QOpenGLFramebufferObject(self, size: PySide6.QtCore.QSize, target: int = 3553) -> None
QOpenGLFramebufferObject(self, width: int, height: int, attachment: PySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment, target: int = 3553, internalFormat: int = 0) -> None
QOpenGLFramebufferObject(self, width: int, height: int, format: PySide6.QtOpenGL.QOpenGLFramebufferObjectFormat) -> None
QOpenGLFramebufferObject(self, width: int, height: int, target: int = 3553) -> None

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__]

Liste des attributs statiques

Nom de l'attribut Valeur
CombinedDepthStencilPySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment.CombinedDepthStencil
DepthPySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment.Depth
DontRestoreFramebufferBindingPySide6.QtOpenGL.QOpenGLFramebufferObject.FramebufferRestorePolicy.DontRestoreFramebufferBinding
NoAttachmentPySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment.NoAttachment
RestoreFrameBufferBindingPySide6.QtOpenGL.QOpenGLFramebufferObject.FramebufferRestorePolicy.RestoreFrameBufferBinding
RestoreFramebufferBindingToDefaultPySide6.QtOpenGL.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: PySide6.QtCore.QSize, internalFormat: int = 0) -> None [extrait de addColorAttachment.__doc__]
Attachment
attachment(self) -> PySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment attachment(self) -> PySide6.QtOpenGL.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: PySide6.QtOpenGL.QOpenGLFramebufferObject, source: PySide6.QtOpenGL.QOpenGLFramebufferObject, buffers: int = 16384, filter: int = 9728) -> None [extrait de blitFramebuffer.__doc__]
format(self) -> PySide6.QtOpenGL.QOpenGLFramebufferObjectFormat format(self) -> PySide6.QtOpenGL.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: PySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment) -> None setAttachment(self, attachment: PySide6.QtOpenGL.QOpenGLFramebufferObject.Attachment) -> None [extrait de setAttachment.__doc__]
size(self) -> PySide6.QtCore.QSize size(self) -> PySide6.QtCore.QSize [extrait de size.__doc__]
sizes(self) -> List[PySide6.QtCore.QSize] sizes(self) -> List[PySide6.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) -> List[int] textures(self) -> List[int] [extrait de textures.__doc__]
toImage toImage(self, flipped: bool, colorAttachmentIndex: int) -> PySide6.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

__getattribute__, __init_subclass__, __subclasshook__

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

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