QGraphicsApiFilter#
The QGraphicsApiFilter
class identifies the API required for the attached QTechnique
. More…
Synopsis#
Properties#
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)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter([parent=None])#
- Parameters:
parent –
PySide6.QtCore.QObject
Constructs a new QGraphicsApiFilter
with the specified parent
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.api: Api#
- Access functions:
api
()setApi
(api)Signal
apiChanged
(api)
- property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.extensions: list of strings#
- Access functions:
extensions
()setExtensions
(extensions)Signal
extensionsChanged
(extensions)
- property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.majorVersion: int#
- Access functions:
majorVersion
()setMajorVersion
(majorVersion)Signal
majorVersionChanged
(majorVersion)
- property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.minorVersion: int#
- Access functions:
minorVersion
()setMinorVersion
(minorVersion)Signal
minorVersionChanged
(minorVersion)
- property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profile: OpenGLProfile#
- Access functions:
profile
()setProfile
(profile)Signal
profileChanged
(profile)
- property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendor: str#
- Access functions:
vendor
()setVendor
(vendor)Signal
vendorChanged
(vendor)
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.Api#
Constant
Description
Qt3DRender.QGraphicsApiFilter.OpenGLES
QSurfaceFormat::OpenGLES
Qt3DRender.QGraphicsApiFilter.OpenGL
QSurfaceFormat::OpenGL
Qt3DRender.QGraphicsApiFilter.Vulkan
Vulkan
Qt3DRender.QGraphicsApiFilter.DirectX
DirectX
Qt3DRender.QGraphicsApiFilter.RHI
RHI
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.OpenGLProfile#
This enum identifies the type of profile required.
Constant
Description
Qt3DRender.QGraphicsApiFilter.NoProfile
QSurfaceFormat::NoProfile
Qt3DRender.QGraphicsApiFilter.CoreProfile
QSurfaceFormat::CoreProfile
Qt3DRender.QGraphicsApiFilter.CompatibilityProfile
QSurfaceFormat::CompatibilityProfile
Getter of property api
.
Notification signal of property api
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.extensions()#
- Return type:
list of strings
See also
Getter of property extensions
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.extensionsChanged(extensions)#
- Parameters:
extensions – list of strings
Notification signal of property extensions
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.graphicsApiFilterChanged()#
This signal is emitted when the value of any property is changed.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.majorVersion()#
- Return type:
int
See also
Getter of property majorVersion
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.majorVersionChanged(majorVersion)#
- Parameters:
majorVersion – int
Notification signal of property majorVersion
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.minorVersion()#
- Return type:
int
See also
Getter of property minorVersion
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.minorVersionChanged(minorVersion)#
- Parameters:
minorVersion – int
Notification signal of property minorVersion
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profile()#
- Return type:
See also
Getter of property profile
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profileChanged(profile)#
- Parameters:
profile –
OpenGLProfile
Notification signal of property profile
.
Setter of property api
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setExtensions(extensions)#
- Parameters:
extensions – list of strings
See also
Setter of property extensions
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setMajorVersion(majorVersion)#
- Parameters:
majorVersion – int
See also
Setter of property majorVersion
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setMinorVersion(minorVersion)#
- Parameters:
minorVersion – int
See also
Setter of property minorVersion
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setProfile(profile)#
- Parameters:
profile –
OpenGLProfile
See also
Setter of property profile
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setVendor(vendor)#
- Parameters:
vendor – str
See also
Setter of property vendor
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendor()#
- Return type:
str
See also
Getter of property vendor
.
- PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendorChanged(vendor)#
- Parameters:
vendor – str
Notification signal of property vendor
.