QGraphicsApiFilter Class
class Qt3DRender::QGraphicsApiFilterThe QGraphicsApiFilter class identifies the API required for the attached QTechnique. More...
Header: | #include <QGraphicsApiFilter> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
In QML: | GraphicsApiFilter |
Inherits: | QObject |
Status: | Deprecated |
Public Types
enum | Api { OpenGLES, OpenGL, Vulkan, DirectX, RHI } |
enum | OpenGLProfile { NoProfile, CoreProfile, CompatibilityProfile } |
Properties
|
|
Public Functions
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 |
Public Slots
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) |
Signals
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) |
Related Non-Members
bool | operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample) |
bool | operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample) |
Member Type Documentation
enum QGraphicsApiFilter::Api
Constant | Value | Description |
---|---|---|
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
This enum identifies the type of profile required.
Constant | Value | Description |
---|---|---|
Qt3DRender::QGraphicsApiFilter::NoProfile | QSurfaceFormat::NoProfile | QSurfaceFormat::NoProfile |
Qt3DRender::QGraphicsApiFilter::CoreProfile | QSurfaceFormat::CoreProfile | QSurfaceFormat::CoreProfile |
Qt3DRender::QGraphicsApiFilter::CompatibilityProfile | QSurfaceFormat::CompatibilityProfile | QSurfaceFormat::CompatibilityProfile |
Property Documentation
api : Qt3DRender::QGraphicsApiFilter::Api
Access functions:
Qt3DRender::QGraphicsApiFilter::Api | api() const |
void | setApi(Qt3DRender::QGraphicsApiFilter::Api api) |
Notifier signal:
void | apiChanged(Qt3DRender::QGraphicsApiFilter::Api api) |
extensions : QStringList
Access functions:
QStringList | extensions() const |
void | setExtensions(const QStringList &extensions) |
Notifier signal:
void | extensionsChanged(const QStringList &extensions) |
majorVersion : int
Access functions:
int | majorVersion() const |
void | setMajorVersion(int majorVersion) |
Notifier signal:
void | majorVersionChanged(int majorVersion) |
minorVersion : int
Access functions:
int | minorVersion() const |
void | setMinorVersion(int minorVersion) |
Notifier signal:
void | minorVersionChanged(int minorVersion) |
profile : Qt3DRender::QGraphicsApiFilter::OpenGLProfile
Access functions:
Qt3DRender::QGraphicsApiFilter::OpenGLProfile | profile() const |
void | setProfile(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
Notifier signal:
void | profileChanged(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
vendor : QString
Access functions:
QString | vendor() const |
void | setVendor(const QString &vendor) |
Notifier signal:
void | vendorChanged(const QString &vendor) |
Member Function Documentation
[explicit]
QGraphicsApiFilter::QGraphicsApiFilter(QObject *parent = nullptr)
Constructs a new QGraphicsApiFilter with the specified parent.
[signal]
void QGraphicsApiFilter::graphicsApiFilterChanged()
This signal is emitted when the value of any property is changed.
Related Non-Members
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Returns true
if reference and sample are different.
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Returns true
if reference and sample are equivalent.
© 2024 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.