QGraphicsApiFilter Class
(Qt3DRender::QGraphicsApiFilter) The QGraphicsApiFilter class identifies the API required for the attached QTechnique. More...
Header: |
#include <QGraphicsApiFilter> |
qmake: |
QT += 3drender |
Since: |
Qt 5.5 |
Instantiated By: |
GraphicsApiFilter
|
Inherits: |
QObject
|
Public Types
enum |
Api { OpenGLES, OpenGL, Vulkan, DirectX } |
enum |
OpenGLProfile { NoProfile, CoreProfile, CompatibilityProfile } |
Properties
Public Functions
- 31 public functions inherited from QObject
Public Slots
- 1 public slot inherited from QObject
Signals
Static Public Members
- 9 static public members inherited from QObject
bool |
operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample) |
bool |
operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample) |
Additional Inherited Members
- 9 protected functions inherited from QObject
Detailed Description
The QGraphicsApiFilter class identifies the API required for the attached QTechnique.
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 |
enum QGraphicsApiFilter::OpenGLProfile
This enum identifies the type of profile required.
Property Documentation
Access functions:
Qt3DRender::QGraphicsApiFilter::Api |
api() const |
void |
setApi(Qt3DRender::QGraphicsApiFilter::Api api) |
Notifier signal:
void |
apiChanged(Qt3DRender::QGraphicsApiFilter::Api api) |
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) |
Access functions:
Qt3DRender::QGraphicsApiFilter::OpenGLProfile |
profile() const |
void |
setProfile(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
Notifier signal:
void |
profileChanged(Qt3DRender::QGraphicsApiFilter::OpenGLProfile profile) |
Access functions:
QString |
vendor() const |
void |
setVendor(const QString &vendor) |
Notifier signal:
void |
vendorChanged(const QString &vendor) |
Member Function Documentation
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
Returns true
if reference and sample are different.
Returns true
if reference and sample are equivalent.