QRhiVertexInputLayout Class
Describes the layout of vertex inputs consumed by a vertex shader. More...
Header: | #include <QRhiVertexInputLayout> |
qmake: | QT += rhi |
Public Functions
QRhiVertexInputLayout() | |
QVector<QRhiVertexInputAttribute> | attributes() const |
QVector<QRhiVertexInputBinding> | bindings() const |
void | setAttributes(const QVector<QRhiVertexInputAttribute> &v) |
void | setBindings(const QVector<QRhiVertexInputBinding> &v) |
Related Non-Members
uint | qHash(const QRhiVertexInputLayout &v, uint seed = 0) |
bool | operator!=(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) |
bool | operator==(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) |
Detailed Description
Describes the layout of vertex inputs consumed by a vertex shader.
The vertex input layout is defined by the collections of QRhiVertexInputBinding and QRhiVertexInputAttribute.
Member Type Documentation
Property Documentation
Member Function Documentation
QRhiVertexInputLayout::QRhiVertexInputLayout()
Constructs an empty vertex input layout description.
QVector<QRhiVertexInputAttribute> QRhiVertexInputLayout::attributes() const
See also setAttributes().
QVector<QRhiVertexInputBinding> QRhiVertexInputLayout::bindings() const
See also setBindings().
void QRhiVertexInputLayout::setAttributes(const QVector<QRhiVertexInputAttribute> &v)
See also attributes().
void QRhiVertexInputLayout::setBindings(const QVector<QRhiVertexInputBinding> &v)
See also bindings().
Member Variable Documentation
Related Non-Members
uint qHash(const QRhiVertexInputLayout &v, uint seed = 0)
Returns the hash value for v, using seed to seed the calculation.
bool operator!=(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b)
Returns false
if the values in the two QRhiVertexInputLayout objects a and b are equal; otherwise returns true
.
bool operator==(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b)
Returns true
if the values in the two QRhiVertexInputLayout objects a and b are equal.