QUniformPack Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QUniformPack

Qt 5.6.2 Reference Documentation

# QUniformPack Class

(Qt3DRender::Render::QUniformPack)

- List of all members, including inherited members

## Public Types

class | NamedTexture

## Public Functions

| ~QUniformPack()
void | setTexture(const QString &glslName, const Qt3DCore::QNodeId &id)
void | setUniform(const QString &glslName, const QUniformValue *val)
void | setUniformBuffer(const BlockToUBO &blockToUBO)
QVector<NamedTexture> | textures() const
const QUniformValue * | uniform(const QString &glslName) const
QVector<BlockToUBO> | uniformBuffers() const
const QHash<QString, const QUniformValue *> & | uniforms() const

## Member Function Documentation

### QUniformPack::~QUniformPack()

Destroys the instance of QUniformPack.

### void QUniformPack::setTexture(const QString &glslName, const Qt3DCore::QNodeId &id)

### void QUniformPack::setUniform(const QString &glslName, const QUniformValue *val)

See also uniform().

### void QUniformPack::setUniformBuffer(const BlockToUBO &blockToUBO)

### QVector<NamedTexture> QUniformPack::textures() const

### const QUniformValue *QUniformPack::uniform(const QString &glslName) const

See also setUniform().

### QVector<BlockToUBO> QUniformPack::uniformBuffers() const

### const QHash<QString, const QUniformValue *> &QUniformPack::uniforms() const