QShaderDescription::BlockVariable Struct

struct QShaderDescription::BlockVariable

Describes a member of a uniform or push constant block. More...

This struct was introduced in Qt 6.6.

Public Variables

QList<int> arrayDims
int arrayStride
bool matrixIsRowMajor
int matrixStride
QByteArray name
int offset
int size
QList<QShaderDescription::BlockVariable> structMembers
QShaderDescription::VariableType type
bool operator==(const QShaderDescription::BlockVariable &lhs, const QShaderDescription::BlockVariable &rhs)

Detailed Description

Note: This is a RHI API with limited compatibility guarantees, see QShaderDescription for details.

Member Variable Documentation

QList<int> BlockVariable::arrayDims

int BlockVariable::arrayStride

bool BlockVariable::matrixIsRowMajor

int BlockVariable::matrixStride

QByteArray BlockVariable::name

int BlockVariable::offset

int BlockVariable::size

QList<QShaderDescription::BlockVariable> BlockVariable::structMembers

QShaderDescription::VariableType BlockVariable::type

Related Non-Members

[noexcept] bool operator==(const QShaderDescription::BlockVariable &lhs, const QShaderDescription::BlockVariable &rhs)

Returns true if the two BlockVariable objects lhs and rhs are equal.

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