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

Classe « QSurfaceFormat »

Informations générales

Héritage

builtins.object
    Object
        QSurfaceFormat

Définition

class QSurfaceFormat(Object):

Description [extrait de QSurfaceFormat.__doc__]

QSurfaceFormat(self) -> None
QSurfaceFormat(self, options: PySide6.QtGui.QSurfaceFormat.FormatOptions) -> None
QSurfaceFormat(self, other: Union[PySide6.QtGui.QSurfaceFormat, PySide6.QtGui.QSurfaceFormat.FormatOptions]) -> 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
CompatibilityProfilePySide6.QtGui.QSurfaceFormat.OpenGLContextProfile.CompatibilityProfile
CoreProfilePySide6.QtGui.QSurfaceFormat.OpenGLContextProfile.CoreProfile
DebugContextPySide6.QtGui.QSurfaceFormat.FormatOption.DebugContext
DefaultColorSpacePySide6.QtGui.QSurfaceFormat.ColorSpace.DefaultColorSpace
DefaultRenderableTypePySide6.QtGui.QSurfaceFormat.RenderableType.DefaultRenderableType
DefaultSwapBehaviorPySide6.QtGui.QSurfaceFormat.SwapBehavior.DefaultSwapBehavior
DeprecatedFunctionsPySide6.QtGui.QSurfaceFormat.FormatOption.DeprecatedFunctions
DoubleBufferPySide6.QtGui.QSurfaceFormat.SwapBehavior.DoubleBuffer
NoProfilePySide6.QtGui.QSurfaceFormat.OpenGLContextProfile.NoProfile
OpenGLPySide6.QtGui.QSurfaceFormat.RenderableType.OpenGL
OpenGLESPySide6.QtGui.QSurfaceFormat.RenderableType.OpenGLES
OpenVGPySide6.QtGui.QSurfaceFormat.RenderableType.OpenVG
ProtectedContentPySide6.QtGui.QSurfaceFormat.FormatOption.ProtectedContent
ResetNotificationPySide6.QtGui.QSurfaceFormat.FormatOption.ResetNotification
SingleBufferPySide6.QtGui.QSurfaceFormat.SwapBehavior.SingleBuffer
sRGBColorSpacePySide6.QtGui.QSurfaceFormat.ColorSpace.sRGBColorSpace
StereoBuffersPySide6.QtGui.QSurfaceFormat.FormatOption.StereoBuffers
TripleBufferPySide6.QtGui.QSurfaceFormat.SwapBehavior.TripleBuffer

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

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
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
alphaBufferSize(self) -> int alphaBufferSize(self) -> int [extrait de alphaBufferSize.__doc__]
blueBufferSize(self) -> int blueBufferSize(self) -> int [extrait de blueBufferSize.__doc__]
ColorSpace
colorSpace(self) -> PySide6.QtGui.QColorSpace colorSpace(self) -> PySide6.QtGui.QColorSpace [extrait de colorSpace.__doc__]
defaultFormat() -> PySide6.QtGui.QSurfaceFormat defaultFormat() -> PySide6.QtGui.QSurfaceFormat [extrait de defaultFormat.__doc__]
depthBufferSize(self) -> int depthBufferSize(self) -> int [extrait de depthBufferSize.__doc__]
FormatOption
FormatOptions
greenBufferSize(self) -> int greenBufferSize(self) -> int [extrait de greenBufferSize.__doc__]
hasAlpha(self) -> bool hasAlpha(self) -> bool [extrait de hasAlpha.__doc__]
majorVersion(self) -> int majorVersion(self) -> int [extrait de majorVersion.__doc__]
minorVersion(self) -> int minorVersion(self) -> int [extrait de minorVersion.__doc__]
OpenGLContextProfile
options(self) -> PySide6.QtGui.QSurfaceFormat.FormatOptions options(self) -> PySide6.QtGui.QSurfaceFormat.FormatOptions [extrait de options.__doc__]
profile(self) -> PySide6.QtGui.QSurfaceFormat.OpenGLContextProfile profile(self) -> PySide6.QtGui.QSurfaceFormat.OpenGLContextProfile [extrait de profile.__doc__]
redBufferSize(self) -> int redBufferSize(self) -> int [extrait de redBufferSize.__doc__]
RenderableType
renderableType(self) -> PySide6.QtGui.QSurfaceFormat.RenderableType renderableType(self) -> PySide6.QtGui.QSurfaceFormat.RenderableType [extrait de renderableType.__doc__]
samples(self) -> int samples(self) -> int [extrait de samples.__doc__]
setAlphaBufferSize(self, size: int) -> None setAlphaBufferSize(self, size: int) -> None [extrait de setAlphaBufferSize.__doc__]
setBlueBufferSize(self, size: int) -> None setBlueBufferSize(self, size: int) -> None [extrait de setBlueBufferSize.__doc__]
setColorSpace setColorSpace(self, colorSpace: PySide6.QtGui.QSurfaceFormat.ColorSpace) -> None [extrait de setColorSpace.__doc__]
setDefaultFormat(format: Union[PySide6.QtGui.QSurfaceFormat, PySide6.QtGui.QSurfaceFormat.FormatOptions]) -> None setDefaultFormat(format: Union[PySide6.QtGui.QSurfaceFormat, PySide6.QtGui.QSurfaceFormat.FormatOptions]) -> None [extrait de setDefaultFormat.__doc__]
setDepthBufferSize(self, size: int) -> None setDepthBufferSize(self, size: int) -> None [extrait de setDepthBufferSize.__doc__]
setGreenBufferSize(self, size: int) -> None setGreenBufferSize(self, size: int) -> None [extrait de setGreenBufferSize.__doc__]
setMajorVersion(self, majorVersion: int) -> None setMajorVersion(self, majorVersion: int) -> None [extrait de setMajorVersion.__doc__]
setMinorVersion(self, minorVersion: int) -> None setMinorVersion(self, minorVersion: int) -> None [extrait de setMinorVersion.__doc__]
setOption(self, option: PySide6.QtGui.QSurfaceFormat.FormatOption, on: bool = True) -> None setOption(self, option: PySide6.QtGui.QSurfaceFormat.FormatOption, on: bool = True) -> None [extrait de setOption.__doc__]
setOptions(self, options: PySide6.QtGui.QSurfaceFormat.FormatOptions) -> None setOptions(self, options: PySide6.QtGui.QSurfaceFormat.FormatOptions) -> None [extrait de setOptions.__doc__]
setProfile(self, profile: PySide6.QtGui.QSurfaceFormat.OpenGLContextProfile) -> None setProfile(self, profile: PySide6.QtGui.QSurfaceFormat.OpenGLContextProfile) -> None [extrait de setProfile.__doc__]
setRedBufferSize(self, size: int) -> None setRedBufferSize(self, size: int) -> None [extrait de setRedBufferSize.__doc__]
setRenderableType(self, type: PySide6.QtGui.QSurfaceFormat.RenderableType) -> None setRenderableType(self, type: PySide6.QtGui.QSurfaceFormat.RenderableType) -> None [extrait de setRenderableType.__doc__]
setSamples(self, numSamples: int) -> None setSamples(self, numSamples: int) -> None [extrait de setSamples.__doc__]
setStencilBufferSize(self, size: int) -> None setStencilBufferSize(self, size: int) -> None [extrait de setStencilBufferSize.__doc__]
setStereo(self, enable: bool) -> None setStereo(self, enable: bool) -> None [extrait de setStereo.__doc__]
setSwapBehavior(self, behavior: PySide6.QtGui.QSurfaceFormat.SwapBehavior) -> None setSwapBehavior(self, behavior: PySide6.QtGui.QSurfaceFormat.SwapBehavior) -> None [extrait de setSwapBehavior.__doc__]
setSwapInterval(self, interval: int) -> None setSwapInterval(self, interval: int) -> None [extrait de setSwapInterval.__doc__]
setVersion(self, major: int, minor: int) -> None setVersion(self, major: int, minor: int) -> None [extrait de setVersion.__doc__]
stencilBufferSize(self) -> int stencilBufferSize(self) -> int [extrait de stencilBufferSize.__doc__]
stereo(self) -> bool stereo(self) -> bool [extrait de stereo.__doc__]
SwapBehavior
swapBehavior(self) -> PySide6.QtGui.QSurfaceFormat.SwapBehavior swapBehavior(self) -> PySide6.QtGui.QSurfaceFormat.SwapBehavior [extrait de swapBehavior.__doc__]
swapInterval(self) -> int swapInterval(self) -> int [extrait de swapInterval.__doc__]
testOption(self, option: PySide6.QtGui.QSurfaceFormat.FormatOption) -> bool testOption(self, option: PySide6.QtGui.QSurfaceFormat.FormatOption) -> bool [extrait de testOption.__doc__]
version(self) -> Tuple[int, int] version(self) -> Tuple[int, int] [extrait de version.__doc__]

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

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

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

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