QGraphicsApiFilter

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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter

Synopsis

Functions

Slots

Signals

Detailed Description

class PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter([parent=None])
param parent:

PySide2.QtCore.QObject

Constructs a new QGraphicsApiFilter with the specified parent .

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.api()
Return type:

Api

PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.apiChanged(api)
Parameters:

apiApi

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:

OpenGLProfile

PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.profileChanged(profile)
Parameters:

profileOpenGLProfile

PySide2.Qt3DRender.Qt3DRender.QGraphicsApiFilter.setApi(api)
Parameters:

apiApi

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:

profileOpenGLProfile

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