QQuick3D Class

Helper class for selecting correct surface format. More...

Header: #include <QQuick3D>
Since: Qt 5.15

This class was introduced in Qt 5.15.

Static Public Members

QSurfaceFormat idealSurfaceFormat(int samples = -1)

Detailed Description

Lets you select a surface format that is appropriate for the application.

Usage:

QSurfaceFormat::setDefaultFormat(QQuick3D::idealSurfaceFormat(4));

Member Function Documentation

[static] QSurfaceFormat QQuick3D::idealSurfaceFormat(int samples = -1)

Returns an ideal surface format for the platform. Optionally, samples can be specified to select the number of multisamples for antialiasing.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qquick3d.html