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.