PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter¶
- class QGraphicsApiFilter¶
The
QGraphicsApiFilterclass identifies the API required for the attachedQTechnique. More…Synopsis¶
Properties¶
Methods¶
def
__init__()def
api()def
extensions()def
majorVersion()def
minorVersion()def
profile()def
vendor()
Slots¶
def
setApi()def
setExtensions()def
setProfile()def
setVendor()
Signals¶
def
apiChanged()def
profileChanged()def
vendorChanged()
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 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
- class 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
Note
Properties can be used directly when
from __feature__ import true_propertyis used or via accessor functions otherwise.- property apiᅟ: Qt3DRender.QGraphicsApiFilter.Api¶
- Access functions:
Signal
apiChanged()
- property extensionsᅟ: list of strings¶
- Access functions:
- property majorVersionᅟ: int¶
- Access functions:
- property minorVersionᅟ: int¶
- Access functions:
- property profileᅟ: Qt3DRender.QGraphicsApiFilter.OpenGLProfile¶
- Access functions:
- property vendorᅟ: str¶
- Access functions:
Signal
vendorChanged()
Constructs a new
QGraphicsApiFilterwith the specifiedparent.- api()¶
- Return type:
Api
See also
setApi()
Getter of property
apiᅟ.- apiChanged(api)¶
- Parameters:
api –
Api
Notification signal of property
apiᅟ.- extensions()¶
- Return type:
list of strings
See also
setExtensions()
Getter of property
extensionsᅟ.- extensionsChanged(extensions)¶
- Parameters:
extensions – list of strings
Notification signal of property
extensionsᅟ.- graphicsApiFilterChanged()¶
This signal is emitted when the value of any property is changed.
- majorVersion()¶
- Return type:
int
See also
setMajorVersion()
Getter of property
majorVersionᅟ.- majorVersionChanged(majorVersion)¶
- Parameters:
majorVersion – int
Notification signal of property
majorVersionᅟ.- minorVersion()¶
- Return type:
int
See also
setMinorVersion()
Getter of property
minorVersionᅟ.- minorVersionChanged(minorVersion)¶
- Parameters:
minorVersion – int
Notification signal of property
minorVersionᅟ.- profile()¶
- Return type:
OpenGLProfile
See also
setProfile()
Getter of property
profileᅟ.- profileChanged(profile)¶
- Parameters:
profile –
OpenGLProfile
Notification signal of property
profileᅟ.- setApi(api)¶
- Parameters:
api –
Api
See also
api()
Setter of property
apiᅟ.- setExtensions(extensions)¶
- Parameters:
extensions – list of strings
See also
extensions()
Setter of property
extensionsᅟ.- setMajorVersion(majorVersion)¶
- Parameters:
majorVersion – int
See also
majorVersion()
Setter of property
majorVersionᅟ.- setMinorVersion(minorVersion)¶
- Parameters:
minorVersion – int
See also
minorVersion()
Setter of property
minorVersionᅟ.- setProfile(profile)¶
- Parameters:
profile –
OpenGLProfile
See also
profile()
Setter of property
profileᅟ.- setVendor(vendor)¶
- Parameters:
vendor – str
See also
vendor()
Setter of property
vendorᅟ.- vendor()¶
- Return type:
str
See also
setVendor()
Getter of property
vendorᅟ.- vendorChanged(vendor)¶
- Parameters:
vendor – str
Notification signal of property
vendorᅟ.