QOpenGLFilter Class

(Qt3D::QOpenGLFilter)
Instantiated By: OpenGLFilter
Inherits: QObject

Public Types

enum Api { ES, Desktop }
enum Profile { None, Core, Compatibility }

Properties

  • 1 property inherited from QObject

Public Functions

QOpenGLFilter(QObject * parent = 0)
Api api() const
void copy(const QOpenGLFilter & ref)
QStringList extensions() const
int majorVersion() const
int minorVersion() const
Profile profile() const
void setApi(Api api)
void setExtensions(const QStringList & extensions)
void setMajorVersion(int majorVersion)
void setMinorVersion(int minorVersion)
void setProfile(Profile profile)
void setVendor(const QString & vendor)
QString vendor() const
  • 31 public functions inherited from QObject

Signals

bool operator!=(const QOpenGLFilter & reference, const QOpenGLFilter & sample)
bool operator==(const QOpenGLFilter & reference, const QOpenGLFilter & sample)

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject
  • 9 protected functions inherited from QObject

Member Type Documentation

enum QOpenGLFilter::Api

ConstantValueDescription
Qt3D::QOpenGLFilter::ESQSurfaceFormat::OpenGLESQSurfaceFormat::OpenGLES
Qt3D::QOpenGLFilter::DesktopQSurfaceFormat::OpenGLQSurfaceFormat::OpenGL

enum QOpenGLFilter::Profile

ConstantValueDescription
Qt3D::QOpenGLFilter::NoneQSurfaceFormat::NoProfileQSurfaceFormat::NoProfile
Qt3D::QOpenGLFilter::CoreQSurfaceFormat::CoreProfileQSurfaceFormat::CoreProfile
Qt3D::QOpenGLFilter::CompatibilityQSurfaceFormat::CompatibilityProfileQSurfaceFormat::CompatibilityProfile

Property Documentation

api : Qt3D::QOpenGLFilter::Api

Access functions:

Api api() const
void setApi(Api api)

Notifier signal:

void apiChanged()

extensions : QStringList

Access functions:

QStringList extensions() const
void setExtensions(const QStringList & extensions)

Notifier signal:

void extensionsChanged()

majorVersion : int

Access functions:

int majorVersion() const
void setMajorVersion(int majorVersion)

Notifier signal:

void majorVersionChanged()

minorVersion : int

Access functions:

int minorVersion() const
void setMinorVersion(int minorVersion)

Notifier signal:

void minorVersionChanged()

profile : Qt3D::QOpenGLFilter::Profile

Access functions:

Profile profile() const
void setProfile(Profile profile)

Notifier signal:

void profileChanged()

vendor : QString

Access functions:

QString vendor() const
void setVendor(const QString & vendor)

Notifier signal:

void vendorChanged()

Member Function Documentation

QOpenGLFilter::QOpenGLFilter(QObject * parent = 0)

Constructs a new QOpenGLFilter with the specified parent.

void QOpenGLFilter::copy(const QOpenGLFilter & ref)

Copies the ref instance into this one.

[signal] void QOpenGLFilter::openGLFilterChanged()

This signal is emitted when the value of any property is changed.

Related Non-Members

bool Qt3D::operator!=(const QOpenGLFilter & reference, const QOpenGLFilter & sample)

Returns true if reference and sample are different.

bool Qt3D::operator==(const QOpenGLFilter & reference, const QOpenGLFilter & sample)

Returns true if reference and sample are equivalent.

© 2016 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.