TextureUniform Class

(Qt3D::Render::TextureUniform)
Inherits: QUniformValue

Public Functions

TextureUniform()
void setTextureId(const QNodeId & id)
void setTextureUnit(int textureUnit)
QNodeId textureId() const

Reimplemented Public Functions

virtual void apply(QGraphicsContext * ctx, const ShaderUniform & description) const
virtual bool isTexture() const
virtual bool operator==(const QUniformValue & other)

Additional Inherited Members

Member Function Documentation

TextureUniform::TextureUniform()

[virtual] void TextureUniform::apply(QGraphicsContext * ctx, const ShaderUniform & description) const

[virtual] bool TextureUniform::isTexture() const

void TextureUniform::setTextureId(const QNodeId & id)

See also textureId().

void TextureUniform::setTextureUnit(int textureUnit)

QNodeId TextureUniform::textureId() const

See also setTextureId().

[virtual] bool TextureUniform::operator==(const QUniformValue & other)

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