QGraphicsApiFilter Class▲
-
Header: QGraphicsApiFilter
-
Since: Qt 5.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
-
qmake: QT += 3drender
-
Inherited By:
-
Instantiated By: qml-qt3d-render-graphicsapifilter.xml
-
Inherits: QObject
Detailed Description▲
Member Type Documentation▲
enum QGraphicsApiFilter::Api▲
Constant |
Value |
Description |
---|---|---|
Qt3DRender::QGraphicsApiFilter::OpenGLES |
QSurfaceFormat::OpenGLES |
|
Qt3DRender::QGraphicsApiFilter::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 |
|
Qt3DRender::QGraphicsApiFilter::CoreProfile |
QSurfaceFormat::CoreProfile |
|
Qt3DRender::QGraphicsApiFilter::CompatibilityProfile |
QSurfaceFormat::CompatibilityProfile |
Property Documentation▲
api : Qt3DRender::QGraphicsApiFilter::Api▲
Access functions:
-
api() const
-
void setApi( api)
Notifier signal:
-
void apiChanged( api)
extensions : QStringList▲
Access functions:
-
extensions() const
-
void setExtensions(const &extensions)
Notifier signal:
-
void extensionsChanged(const &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:
-
profile() const
-
void setProfile( profile)
Notifier signal:
-
void profileChanged( profile)
vendor : QString▲
Access functions:
-
vendor() const
-
void setVendor(const &vendor)
Notifier signal:
-
void vendorChanged(const &vendor)
Member Function Documentation▲
[explicit] QGraphicsApiFilter::QGraphicsApiFilter(QObject *parent = nullptr)▲
Constructs a new QGraphicsApiFilter with the specified parent.
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.