RenderShader Class

(Qt3D::Render::RenderShader)
Inherits:

Public Functions

RenderShader()
~RenderShader()
QHash<QString, ShaderUniform> activeUniformsForBlock(int blockIndex) const
QVector<ShaderAttribute> attributes() const
QVector<QString> attributesNames() const
void cleanup()
ProgramDNA dna() const
bool isLoaded() const
void sceneChangeEvent(const QSceneChangePtr & e)
void setFragOutputs(const QHash<QString, int> & fragOutputs)
QVector<QByteArray> shaderCode() const
ShaderUniformBlock uniformBlock(int blockIndex)
ShaderUniformBlock uniformBlock(const QString & blockName)
QVector<QString> uniformBlockNames() const
QVector<ShaderUniformBlock> uniformBlocks() const
QVector<ShaderUniform> uniforms() const
QVector<QString> uniformsNames() const
void updateFromPeer(QNode * peer)
void updateUniforms(QGraphicsContext * ctx, const QUniformPack & pack)

Member Function Documentation

RenderShader::RenderShader()

RenderShader::~RenderShader()

QHash<QString, ShaderUniform> RenderShader::activeUniformsForBlock(int blockIndex) const

QVector<ShaderAttribute> RenderShader::attributes() const

QVector<QString> RenderShader::attributesNames() const

void RenderShader::cleanup()

ProgramDNA RenderShader::dna() const

bool RenderShader::isLoaded() const

void RenderShader::sceneChangeEvent(const QSceneChangePtr & e)

void RenderShader::setFragOutputs(const QHash<QString, int> & fragOutputs)

QVector<QByteArray> RenderShader::shaderCode() const

ShaderUniformBlock RenderShader::uniformBlock(int blockIndex)

ShaderUniformBlock RenderShader::uniformBlock(const QString & blockName)

QVector<QString> RenderShader::uniformBlockNames() const

QVector<ShaderUniformBlock> RenderShader::uniformBlocks() const

QVector<ShaderUniform> RenderShader::uniforms() const

QVector<QString> RenderShader::uniformsNames() const

void RenderShader::updateFromPeer(QNode * peer)

void RenderShader::updateUniforms(QGraphicsContext * ctx, const QUniformPack & pack)

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