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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QOpenGLShaderProgram

Définition

class QOpenGLShaderProgram(QObject):

Description [extrait de QOpenGLShaderProgram.__doc__]

QOpenGLShaderProgram(self, parent: Optional[PySide6.QtCore.QObject] = None) -> 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__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40e9090ac0>

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__]
addCacheableShaderFromSourceCode addCacheableShaderFromSourceCode(self, type: PySide6.QtOpenGL.QOpenGLShader.ShaderType, source: str) -> bool [extrait de addCacheableShaderFromSourceCode.__doc__]
addCacheableShaderFromSourceFile(self, type: PySide6.QtOpenGL.QOpenGLShader.ShaderType, fileName: str) -> bool addCacheableShaderFromSourceFile(self, type: PySide6.QtOpenGL.QOpenGLShader.ShaderType, fileName: str) -> bool [extrait de addCacheableShaderFromSourceFile.__doc__]
addShader(self, shader: PySide6.QtOpenGL.QOpenGLShader) -> bool addShader(self, shader: PySide6.QtOpenGL.QOpenGLShader) -> bool [extrait de addShader.__doc__]
addShaderFromSourceCode addShaderFromSourceCode(self, type: PySide6.QtOpenGL.QOpenGLShader.ShaderType, source: str) -> bool [extrait de addShaderFromSourceCode.__doc__]
addShaderFromSourceFile(self, type: PySide6.QtOpenGL.QOpenGLShader.ShaderType, fileName: str) -> bool addShaderFromSourceFile(self, type: PySide6.QtOpenGL.QOpenGLShader.ShaderType, fileName: str) -> bool [extrait de addShaderFromSourceFile.__doc__]
attributeLocation attributeLocation(self, name: str) -> int [extrait de attributeLocation.__doc__]
bind(self) -> bool bind(self) -> bool [extrait de bind.__doc__]
bindAttributeLocation bindAttributeLocation(self, name: str, location: int) -> None [extrait de bindAttributeLocation.__doc__]
create(self) -> bool create(self) -> bool [extrait de create.__doc__]
defaultInnerTessellationLevels(self) -> List[float] defaultInnerTessellationLevels(self) -> List[float] [extrait de defaultInnerTessellationLevels.__doc__]
defaultOuterTessellationLevels(self) -> List[float] defaultOuterTessellationLevels(self) -> List[float] [extrait de defaultOuterTessellationLevels.__doc__]
destroyed
disableAttributeArray disableAttributeArray(self, location: int) -> None [extrait de disableAttributeArray.__doc__]
enableAttributeArray enableAttributeArray(self, location: int) -> None [extrait de enableAttributeArray.__doc__]
hasOpenGLShaderPrograms(context: Optional[PySide6.QtGui.QOpenGLContext] = None) -> bool hasOpenGLShaderPrograms(context: Optional[PySide6.QtGui.QOpenGLContext] = None) -> bool [extrait de hasOpenGLShaderPrograms.__doc__]
isLinked(self) -> bool isLinked(self) -> bool [extrait de isLinked.__doc__]
link(self) -> bool link(self) -> bool [extrait de link.__doc__]
log(self) -> str log(self) -> str [extrait de log.__doc__]
maxGeometryOutputVertices(self) -> int maxGeometryOutputVertices(self) -> int [extrait de maxGeometryOutputVertices.__doc__]
objectNameChanged
patchVertexCount(self) -> int patchVertexCount(self) -> int [extrait de patchVertexCount.__doc__]
programId(self) -> int programId(self) -> int [extrait de programId.__doc__]
release(self) -> None release(self) -> None [extrait de release.__doc__]
removeAllShaders(self) -> None removeAllShaders(self) -> None [extrait de removeAllShaders.__doc__]
removeShader(self, shader: PySide6.QtOpenGL.QOpenGLShader) -> None removeShader(self, shader: PySide6.QtOpenGL.QOpenGLShader) -> None [extrait de removeShader.__doc__]
setAttributeArray setAttributeArray(self, location: int, type: int, values: int, tupleSize: int, stride: int = 0) -> None [extrait de setAttributeArray.__doc__]
setAttributeBuffer setAttributeBuffer(self, location: int, type: int, offset: int, tupleSize: int, stride: int = 0) -> None [extrait de setAttributeBuffer.__doc__]
setAttributeValue setAttributeValue(self, location: int, value: PySide6.QtGui.QVector2D) -> None [extrait de setAttributeValue.__doc__]
setDefaultInnerTessellationLevels(self, levels: Sequence[float]) -> None setDefaultInnerTessellationLevels(self, levels: Sequence[float]) -> None [extrait de setDefaultInnerTessellationLevels.__doc__]
setDefaultOuterTessellationLevels(self, levels: Sequence[float]) -> None setDefaultOuterTessellationLevels(self, levels: Sequence[float]) -> None [extrait de setDefaultOuterTessellationLevels.__doc__]
setPatchVertexCount(self, count: int) -> None setPatchVertexCount(self, count: int) -> None [extrait de setPatchVertexCount.__doc__]
setUniformValue setUniformValue(self, location: int, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None [extrait de setUniformValue.__doc__]
setUniformValue1f setUniformValue1f(self, arg__1: bytes, arg__2: float) -> None [extrait de setUniformValue1f.__doc__]
setUniformValue1i setUniformValue1i(self, arg__1: bytes, arg__2: int) -> None [extrait de setUniformValue1i.__doc__]
setUniformValueArray setUniformValueArray(self, location: int, values: Sequence[float], count: int, tupleSize: int) -> None [extrait de setUniformValueArray.__doc__]
shaders(self) -> List[PySide6.QtOpenGL.QOpenGLShader] shaders(self) -> List[PySide6.QtOpenGL.QOpenGLShader] [extrait de shaders.__doc__]
tr
uniformLocation uniformLocation(self, name: str) -> int [extrait de uniformLocation.__doc__]

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

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

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__