QParameterMapping Class
(Qt3D::QParameterMapping)The QParameterMapping class provides ... More...
Header: | #include <QParameterMapping> |
qmake: | QT += 3drenderer |
Since: | Qt 5.5 |
Instantiated By: | ParameterMapping |
Inherits: |
Public Types
enum | Binding { Uniform, Attribute, StandardUniform, FragmentOutput } |
Properties
- bindingType : Binding
- parameterName : QString
- shaderVariableName : QString
Public Functions
QParameterMapping(QNode * parent = 0) | |
QParameterMapping(const QString & parameterName, const QString & shaderParameterName, QParameterMapping::Binding bindingType, QNode * parent = 0) | |
~QParameterMapping() | |
Binding | bindingType() const |
QString | parameterName() const |
void | setBindingType(Binding type) |
void | setParameterName(const QString & name) |
void | setShaderVariableName(const QString & name) |
QString | shaderVariableName() const |
Signals
void | bindingTypeChanged() |
void | parameterNameChanged() |
void | shaderVariableNameChanged() |
Protected Functions
void | copy(const QNode * ref) |
Detailed Description
The QParameterMapping class provides ...
Member Type Documentation
enum QParameterMapping::Binding
Constant | Value |
---|---|
Qt3D::QParameterMapping::Uniform | 0 |
Qt3D::QParameterMapping::Attribute | 1 |
Qt3D::QParameterMapping::StandardUniform | 2 |
Qt3D::QParameterMapping::FragmentOutput | 3 |
Property Documentation
bindingType : Binding
Access functions:
Binding | bindingType() const |
void | setBindingType(Binding type) |
Notifier signal:
void | bindingTypeChanged() |
parameterName : QString
Access functions:
QString | parameterName() const |
void | setParameterName(const QString & name) |
Notifier signal:
void | parameterNameChanged() |
shaderVariableName : QString
Access functions:
QString | shaderVariableName() const |
void | setShaderVariableName(const QString & name) |
Notifier signal:
void | shaderVariableNameChanged() |
Member Function Documentation
QParameterMapping::QParameterMapping(QNode * parent = 0)
Constructs a new QParameterMapping with the specified parent.
QParameterMapping::QParameterMapping(const QString & parameterName, const QString & shaderParameterName, QParameterMapping::Binding bindingType, QNode * parent = 0)
This constructor takes a parameterName, a shaderParameterName, a bindingType, and a parent.
QParameterMapping::~QParameterMapping()
[protected]
void QParameterMapping::copy(const QNode * ref)
Copies the ref instance into this one.
© 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.