Qt3DRender::QGraphicsApiFilter Class
class Qt3DRender::QGraphicsApiFilterLa classe QGraphicsApiFilter identifie l'API requise pour le site QTechnique. Plus...
| En-tête : | #include <QGraphicsApiFilter> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3drender)target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake : | QT += 3drender |
| En QML : | GraphicsApiFilter |
| Hérite : | QObject |
| Statut : | Déclassé |
Types publics
| enum | Api { OpenGLES, OpenGL, Vulkan, DirectX, RHI } |
| enum | OpenGLProfile { NoProfile, CoreProfile, CompatibilityProfile } |
Propriétés
|
|
Fonctions publiques
| QGraphicsApiFilter(QObject *parent = nullptr) | |
| Qt3DRender::QGraphicsApiFilter::Api | api() const |
| QStringList | extensions() const |
| int | majorVersion() const |
| int | minorVersion() const |
| Qt3DRender::QGraphicsApiFilter::OpenGLProfile | profile() const |
| QString | vendor() const |
Emplacements publics
| void | setApi(Qt3DRender::QGraphicsApiFilter::Api api) |
| void | setExtensions(const QStringList &extensions) |
| void | setMajorVersion(int majorVersion) |
| void | setMinorVersion(int minorVersion) |
| void | setProfile(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
| void | setVendor(const QString &vendor) |
Signaux
| void | apiChanged(Qt3DRender::QGraphicsApiFilter::Api api) |
| void | extensionsChanged(const QStringList &extensions) |
| void | graphicsApiFilterChanged() |
| void | majorVersionChanged(int majorVersion) |
| void | minorVersionChanged(int minorVersion) |
| void | profileChanged(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
| void | vendorChanged(const QString &vendor) |
Non-membres apparentés
| bool | operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample) |
| bool | operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample) |
Documentation sur les types de membres
enum QGraphicsApiFilter::Api
| Constante | Valeur | Description de l'application |
|---|---|---|
Qt3DRender::QGraphicsApiFilter::OpenGLES | QSurfaceFormat::OpenGLES | QSurfaceFormat::OpenGLES |
Qt3DRender::QGraphicsApiFilter::OpenGL | QSurfaceFormat::OpenGL | QSurfaceFormat::OpenGL |
Qt3DRender::QGraphicsApiFilter::Vulkan | 3 | Vulkan |
Qt3DRender::QGraphicsApiFilter::DirectX | 4 | DirectX |
Qt3DRender::QGraphicsApiFilter::RHI | 5 | RHI |
enum QGraphicsApiFilter::OpenGLProfile
Cette énumération identifie le type de profil requis.
| Constante | Valeur | Description de la propriété |
|---|---|---|
Qt3DRender::QGraphicsApiFilter::NoProfile | QSurfaceFormat::NoProfile | QSurfaceFormat::NoProfile |
Qt3DRender::QGraphicsApiFilter::CoreProfile | QSurfaceFormat::CoreProfile | QSurfaceFormat::CoreProfile |
Qt3DRender::QGraphicsApiFilter::CompatibilityProfile | QSurfaceFormat::CompatibilityProfile | QSurfaceFormat::CompatibilityProfile |
Propriété Documentation
api : Qt3DRender::QGraphicsApiFilter::Api
Fonctions d'accès :
| Qt3DRender::QGraphicsApiFilter::Api | api() const |
| void | setApi(Qt3DRender::QGraphicsApiFilter::Api api) |
Signal de notification :
| void | apiChanged(Qt3DRender::QGraphicsApiFilter::Api api) |
extensions : QStringList
Fonctions d'accès :
| QStringList | extensions() const |
| void | setExtensions(const QStringList &extensions) |
Signal de notification :
| void | extensionsChanged(const QStringList &extensions) |
majorVersion : int
Fonctions d'accès :
| int | majorVersion() const |
| void | setMajorVersion(int majorVersion) |
Signal de notification :
| void | majorVersionChanged(int majorVersion) |
minorVersion : int
Fonctions d'accès :
| int | minorVersion() const |
| void | setMinorVersion(int minorVersion) |
Signal de notification :
| void | minorVersionChanged(int minorVersion) |
profile : Qt3DRender::QGraphicsApiFilter::OpenGLProfile
Fonctions d'accès :
| Qt3DRender::QGraphicsApiFilter::OpenGLProfile | profile() const |
| void | setProfile(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
Signal de notification :
| void | profileChanged(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
vendor : QString
Fonctions d'accès :
| QString | vendor() const |
| void | setVendor(const QString &vendor) |
Signal du notificateur :
| void | vendorChanged(const QString &vendor) |
Fonction membre Documentation
[explicit] QGraphicsApiFilter::QGraphicsApiFilter(QObject *parent = nullptr)
Construit un nouveau QGraphicsApiFilter avec l'adresse parent spécifiée.
[signal] void QGraphicsApiFilter::graphicsApiFilterChanged()
Ce signal est émis lorsque la valeur d'une propriété est modifiée.
Non-membres apparentés
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Renvoie true si reference et sample sont différents.
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Renvoie true si reference et sample sont équivalents.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.