QGraphicsApiFilter¶

PyQt5.Qt3DRender.QGraphicsApiFilter

Inherits from QObject.

Description¶

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

Enums¶

Api

Member

Value

Description

DirectX

4

OpenGL

QSurfaceFormat::OpenGL

QSurfaceFormat::OpenGL

OpenGLES

QSurfaceFormat::OpenGLES

QSurfaceFormat::OpenGLES

Vulkan

3

Vulkan


OpenGLProfile

This enum identifies the type of profile required.

Member

Value

Description

CompatibilityProfile

QSurfaceFormat::CompatibilityProfile

QSurfaceFormat::CompatibilityProfile

CoreProfile

QSurfaceFormat::CoreProfile

QSurfaceFormat::CoreProfile

NoProfile

QSurfaceFormat::NoProfile

QSurfaceFormat::NoProfile

Methods¶

__init__(parent: QObject = None)

TODO


api() → Api

See also

setApi().


extensions() → List[str]

See also

setExtensions().


majorVersion() → int

See also

setMajorVersion().


minorVersion() → int

See also

setMinorVersion().


profile() → OpenGLProfile

See also

setProfile().


setApi(Api)

See also

api().


setExtensions(Iterable[str])

See also

extensions().


setMajorVersion(int)

See also

majorVersion().


setMinorVersion(int)

See also

minorVersion().


setProfile(OpenGLProfile)

See also

profile().


setVendor(str)

See also

vendor().


vendor() → str

See also

setVendor().

Signals¶

apiChanged(Api)

TODO


extensionsChanged(Iterable[str])

TODO


graphicsApiFilterChanged()

TODO


majorVersionChanged(int)

TODO


minorVersionChanged(int)

TODO


profileChanged(OpenGLProfile)

TODO


vendorChanged(str)

TODO