QRenderPass Class

(Qt3D::QRenderPass)
Inherits:

Properties

Public Functions

QRenderPass(QNode * parent = 0)
~QRenderPass()
void addAnnotation(QAnnotation * criterion)
void addBinding(QParameterMapping * binding)
void addParameter(QParameter * p)
void addRenderState(QRenderState * state)
QList<QAnnotation *> annotations() const
ParameterList attributes() const
QList<QParameterMapping *> bindings() const
QString glslNameForParameter(QString paramName) const
QList<QParameter *> parameters() const
void removeAnnotation(QAnnotation * criterion)
void removeBinding(QParameterMapping * binding)
void removeParameter(QParameter * p)
void removeRenderState(QRenderState * state)
QList<QRenderState *> renderStates() const
void setShaderProgram(QShaderProgram * shaderProgram)
QShaderProgram * shaderProgram() const
ParameterList uniforms() const

Signals

Protected Functions

void copy(const QNode * ref)

Property Documentation

shaderProgram : Qt3D::QShaderProgram *

Access functions:

QShaderProgram * shaderProgram() const
void setShaderProgram(QShaderProgram * shaderProgram)

Notifier signal:

void shaderProgramChanged()

Member Function Documentation

QRenderPass::QRenderPass(QNode * parent = 0)

QRenderPass::~QRenderPass()

void QRenderPass::addAnnotation(QAnnotation * criterion)

void QRenderPass::addBinding(QParameterMapping * binding)

void QRenderPass::addParameter(QParameter * p)

void QRenderPass::addRenderState(QRenderState * state)

Adds a Qt3D::QRenderState state to the rendering pass. That implies that when the pass is executed at render time, the globally set render state will be modifed by the states defined locally by the Qt3D::QRenderPass.

Note: not defining any Qt3D::QRenderState in a pass will result in the pass using the globally set render state for a given FrameGraph branch execution path.

QList<QAnnotation *> QRenderPass::annotations() const

ParameterList QRenderPass::attributes() const

QList<QParameterMapping *> QRenderPass::bindings() const

[protected] void QRenderPass::copy(const QNode * ref)

QString QRenderPass::glslNameForParameter(QString paramName) const

QList<QParameter *> QRenderPass::parameters() const

void QRenderPass::removeAnnotation(QAnnotation * criterion)

void QRenderPass::removeBinding(QParameterMapping * binding)

void QRenderPass::removeParameter(QParameter * p)

void QRenderPass::removeRenderState(QRenderState * state)

Removes state from the Qt3D::QRenderPass local render state.

QList<QRenderState *> QRenderPass::renderStates() const

Returns the list of Qt3D::QRenderState state objects making up the render state of the Qt3D::QRenderPass.

void QRenderPass::setShaderProgram(QShaderProgram * shaderProgram)

Sets the pass's shaderProgram. This posts a ComponentUpdated QScenePropertyChange to the QChangeArbiter. The value is set to the ShaderProgram and the property name to "shaderProgram".

Note: Setter function for property shaderProgram.

See also shaderProgram().

ParameterList QRenderPass::uniforms() const

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