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 « QOpenGLBuffer »

Informations générales

Héritage

builtins.object
    Object
        QOpenGLBuffer

Définition

class QOpenGLBuffer(Object):

Description [extrait de QOpenGLBuffer.__doc__]

QOpenGLBuffer(self)
QOpenGLBuffer(self, other: PySide2.QtGui.QOpenGLBuffer)
QOpenGLBuffer(self, type: PySide2.QtGui.QOpenGLBuffer.Type)

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
DynamicCopyPySide2.QtGui.QOpenGLBuffer.UsagePattern.DynamicCopy
DynamicDrawPySide2.QtGui.QOpenGLBuffer.UsagePattern.DynamicDraw
DynamicReadPySide2.QtGui.QOpenGLBuffer.UsagePattern.DynamicRead
IndexBufferPySide2.QtGui.QOpenGLBuffer.Type.IndexBuffer
PixelPackBufferPySide2.QtGui.QOpenGLBuffer.Type.PixelPackBuffer
PixelUnpackBufferPySide2.QtGui.QOpenGLBuffer.Type.PixelUnpackBuffer
RangeFlushExplicitPySide2.QtGui.QOpenGLBuffer.RangeAccessFlag.RangeFlushExplicit
RangeInvalidatePySide2.QtGui.QOpenGLBuffer.RangeAccessFlag.RangeInvalidate
RangeInvalidateBufferPySide2.QtGui.QOpenGLBuffer.RangeAccessFlag.RangeInvalidateBuffer
RangeReadPySide2.QtGui.QOpenGLBuffer.RangeAccessFlag.RangeRead
RangeUnsynchronizedPySide2.QtGui.QOpenGLBuffer.RangeAccessFlag.RangeUnsynchronized
RangeWritePySide2.QtGui.QOpenGLBuffer.RangeAccessFlag.RangeWrite
ReadOnlyPySide2.QtGui.QOpenGLBuffer.Access.ReadOnly
ReadWritePySide2.QtGui.QOpenGLBuffer.Access.ReadWrite
StaticCopyPySide2.QtGui.QOpenGLBuffer.UsagePattern.StaticCopy
StaticDrawPySide2.QtGui.QOpenGLBuffer.UsagePattern.StaticDraw
StaticReadPySide2.QtGui.QOpenGLBuffer.UsagePattern.StaticRead
StreamCopyPySide2.QtGui.QOpenGLBuffer.UsagePattern.StreamCopy
StreamDrawPySide2.QtGui.QOpenGLBuffer.UsagePattern.StreamDraw
StreamReadPySide2.QtGui.QOpenGLBuffer.UsagePattern.StreamRead
VertexBufferPySide2.QtGui.QOpenGLBuffer.Type.VertexBuffer
WriteOnlyPySide2.QtGui.QOpenGLBuffer.Access.WriteOnly

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
__getattribute__(self, name) Return getattr(self, name). [extrait de __getattribute__.__doc__]
Access
allocate allocate(self, count: int) [extrait de allocate.__doc__]
bind(self) -> bool bind(self) -> bool [extrait de bind.__doc__]
bufferId(self) -> int bufferId(self) -> int [extrait de bufferId.__doc__]
create(self) -> bool create(self) -> bool [extrait de create.__doc__]
destroy(self) destroy(self) [extrait de destroy.__doc__]
isCreated(self) -> bool isCreated(self) -> bool [extrait de isCreated.__doc__]
map(self, access: PySide2.QtGui.QOpenGLBuffer.Access) -> int map(self, access: PySide2.QtGui.QOpenGLBuffer.Access) -> int [extrait de map.__doc__]
mapRange(self, offset: int, count: int, access: PySide2.QtGui.QOpenGLBuffer.RangeAccessFlags) -> int mapRange(self, offset: int, count: int, access: PySide2.QtGui.QOpenGLBuffer.RangeAccessFlags) -> int [extrait de mapRange.__doc__]
RangeAccessFlag
RangeAccessFlags
read(self, offset: int, data: int, count: int) -> bool read(self, offset: int, data: int, count: int) -> bool [extrait de read.__doc__]
release release() [extrait de release.__doc__]
setUsagePattern(self, value: PySide2.QtGui.QOpenGLBuffer.UsagePattern) setUsagePattern(self, value: PySide2.QtGui.QOpenGLBuffer.UsagePattern) [extrait de setUsagePattern.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
Type
type(self) -> PySide2.QtGui.QOpenGLBuffer.Type type(self) -> PySide2.QtGui.QOpenGLBuffer.Type [extrait de type.__doc__]
unmap(self) -> bool unmap(self) -> bool [extrait de unmap.__doc__]
UsagePattern
usagePattern(self) -> PySide2.QtGui.QOpenGLBuffer.UsagePattern usagePattern(self) -> PySide2.QtGui.QOpenGLBuffer.UsagePattern [extrait de usagePattern.__doc__]
write(self, offset: int, data: int, count: int) write(self, offset: int, data: int, count: int) [extrait de write.__doc__]

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

__init_subclass__, __subclasshook__

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

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