QGraphicsApiFilter¶
The
QGraphicsApiFilter
class identifies the API required for the attachedQTechnique
. More…
Synopsis¶
Functions¶
def
api
()def
extensions
()def
majorVersion
()def
minorVersion
()def
profile
()def
vendor
()
Slots¶
def
setApi
(api)def
setExtensions
(extensions)def
setMajorVersion
(majorVersion)def
setMinorVersion
(minorVersion)def
setProfile
(profile)def
setVendor
(vendor)
Signals¶
def
apiChanged
(api)def
extensionsChanged
(extensions)def
graphicsApiFilterChanged
()def
majorVersionChanged
(majorVersion)def
minorVersionChanged
(minorVersion)def
profileChanged
(profile)def
vendorChanged
(vendor)
Detailed Description¶
- class PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter([parent=None])¶
- param parent:
Constructs a new
QGraphicsApiFilter
with the specifiedparent
.
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.Api¶
Constant
Description
Qt3DRender.QGraphicsApiFilter.OpenGLES
OpenGLES
Qt3DRender.QGraphicsApiFilter.OpenGL
OpenGL
Qt3DRender.QGraphicsApiFilter.Vulkan
Vulkan
Qt3DRender.QGraphicsApiFilter.DirectX
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.OpenGLProfile¶
This enum identifies the type of profile required.
Constant
Description
Qt3DRender.QGraphicsApiFilter.NoProfile
NoProfile
Qt3DRender.QGraphicsApiFilter.CoreProfile
CoreProfile
Qt3DRender.QGraphicsApiFilter.CompatibilityProfile
CompatibilityProfile
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.extensions()¶
- Return type:
list of strings
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.extensionsChanged(extensions)¶
- Parameters:
extensions – list of strings
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.graphicsApiFilterChanged()¶
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.majorVersion()¶
- Return type:
int
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.majorVersionChanged(majorVersion)¶
- Parameters:
majorVersion – int
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.minorVersion()¶
- Return type:
int
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.minorVersionChanged(minorVersion)¶
- Parameters:
minorVersion – int
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profile()¶
- Return type:
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profileChanged(profile)¶
- Parameters:
profile –
OpenGLProfile
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setExtensions(extensions)¶
- Parameters:
extensions – list of strings
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setMajorVersion(majorVersion)¶
- Parameters:
majorVersion – int
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setMinorVersion(minorVersion)¶
- Parameters:
minorVersion – int
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setProfile(profile)¶
- Parameters:
profile –
OpenGLProfile
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setVendor(vendor)¶
- Parameters:
vendor – str
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendor()¶
- Return type:
str
- PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendorChanged(vendor)¶
- Parameters:
vendor – str
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.