QParameterMapping Class
(Qt3DRender::QParameterMapping)The QParameterMapping class provides ... More...
Header: | #include <QParameterMapping> |
qmake: | QT += 3drender |
Since: | Qt 5.5 |
Instantiated By: | ParameterMapping |
Inherits: | Qt3DCore::QNode |
Public Types
enum | Binding { Uniform, Attribute, StandardUniform, FragmentOutput, UniformBufferObject, ShaderStorageBufferObject } |
Properties
- bindingType : Binding
- parameterName : QString
- shaderVariableName : QString
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QParameterMapping(Qt3DCore::QNode *parent = Q_NULLPTR) | |
QParameterMapping(const QString ¶meterName, const QString &shaderParameterName, QParameterMapping::Binding bindingType, Qt3DCore::QNode *parent = Q_NULLPTR) | |
~QParameterMapping() | |
Binding | bindingType() const |
QString | parameterName() const |
QString | shaderVariableName() const |
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
void | setBindingType(Binding type) |
void | setParameterName(const QString &name) |
void | setShaderVariableName(const QString &name) |
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | bindingTypeChanged(Binding bindingType) |
void | parameterNameChanged(const QString ¶meterName) |
void | shaderVariableNameChanged(const QString &shaderVariableName) |
- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Protected Functions
QParameterMapping(QParameterMappingPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR) | |
void | copy(const Qt3DCore::QNode *ref) |
- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Additional Inherited Members
- 11 static public members inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode
Detailed Description
The QParameterMapping class provides ...
Member Type Documentation
enum QParameterMapping::Binding
Constant | Value |
---|---|
Qt3DRender::QParameterMapping::Uniform | 0 |
Qt3DRender::QParameterMapping::Attribute | 1 |
Qt3DRender::QParameterMapping::StandardUniform | 2 |
Qt3DRender::QParameterMapping::FragmentOutput | 3 |
Qt3DRender::QParameterMapping::UniformBufferObject | 4 |
Qt3DRender::QParameterMapping::ShaderStorageBufferObject | 5 |
Property Documentation
bindingType : Binding
Access functions:
Binding | bindingType() const |
void | setBindingType(Binding type) |
Notifier signal:
void | bindingTypeChanged(Binding bindingType) |
parameterName : QString
Access functions:
QString | parameterName() const |
void | setParameterName(const QString &name) |
Notifier signal:
void | parameterNameChanged(const QString ¶meterName) |
shaderVariableName : QString
Access functions:
QString | shaderVariableName() const |
void | setShaderVariableName(const QString &name) |
Notifier signal:
void | shaderVariableNameChanged(const QString &shaderVariableName) |
Member Function Documentation
QParameterMapping::QParameterMapping(Qt3DCore::QNode *parent = Q_NULLPTR)
Constructs a new QParameterMapping with the specified parent.
QParameterMapping::QParameterMapping(const QString ¶meterName, const QString &shaderParameterName, QParameterMapping::Binding bindingType, Qt3DCore::QNode *parent = Q_NULLPTR)
Default constructs an instance of QParameterMapping.
[protected]
QParameterMapping::QParameterMapping(QParameterMappingPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)
Copy constructor.
QParameterMapping::~QParameterMapping()
Destroys the instance of QParameterMapping.
[protected]
void QParameterMapping::copy(const Qt3DCore::QNode *ref)
Copies the ref instance into this one.
© 2017 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.