QGraphicsApiFilter#

The QGraphicsApiFilter class identifies the API required for the attached QTechnique . More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter

Synopsis#

Properties#

Functions#

Slots#

Signals#

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:

parentPySide6.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:
property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.extensions: list of strings#
Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.majorVersion: int#
Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.minorVersion: int#
Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profile: OpenGLProfile#
Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendor: str#
Access functions:
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

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.api()#
Return type:

Api

See also

setApi()

Getter of property api .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.apiChanged(api)#
Parameters:

apiApi

Notification signal of property api .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.extensions()#
Return type:

list of strings

See also

setExtensions()

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

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

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:

OpenGLProfile

See also

setProfile()

Getter of property profile .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profileChanged(profile)#
Parameters:

profileOpenGLProfile

Notification signal of property profile .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setApi(api)#
Parameters:

apiApi

See also

api()

Setter of property api .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setExtensions(extensions)#
Parameters:

extensions – list of strings

See also

extensions()

Setter of property extensions .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setMajorVersion(majorVersion)#
Parameters:

majorVersion – int

See also

majorVersion()

Setter of property majorVersion .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setMinorVersion(minorVersion)#
Parameters:

minorVersion – int

See also

minorVersion()

Setter of property minorVersion .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setProfile(profile)#
Parameters:

profileOpenGLProfile

See also

profile()

Setter of property profile .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setVendor(vendor)#
Parameters:

vendor – str

See also

vendor()

Setter of property vendor .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendor()#
Return type:

str

See also

setVendor()

Getter of property vendor .

PySide6.Qt3DRender.Qt3DRender.QGraphicsApiFilter.vendorChanged(vendor)#
Parameters:

vendor – str

Notification signal of property vendor .