QAttribute Class

(Qt3DRender::QAttribute)

Public Functions

QAttribute(Qt3DCore::QNode *parent = Q_NULLPTR)
QAttribute(QBuffer *buf, DataType type, uint dataSize, int count, int offset = 0, int stride = 0)
QAttribute(QBuffer *buf, const QString &name, DataType type, uint dataSize, int count, int offset = 0, int stride = 0)
~QAttribute()
QBuffer *buffer() const

Reimplemented Public Functions

virtual QVector<QVector2D> asVector2D() const
virtual QVector<QVector3D> asVector3D() const
virtual QVector<QVector4D> asVector4D() const
virtual void dump(int count)

Static Public Members

  • 11 static public members inherited from QObject

Protected Functions

void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Member Function Documentation

QAttribute::QAttribute(Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QAttribute.

QAttribute::QAttribute(QBuffer *buf, DataType type, uint dataSize, int count, int offset = 0, int stride = 0)

Default constructs an instance of QAttribute.

QAttribute::QAttribute(QBuffer *buf, const QString &name, DataType type, uint dataSize, int count, int offset = 0, int stride = 0)

Default constructs an instance of QAttribute.

QAttribute::~QAttribute()

Destroys the instance of QAttribute.

[virtual] QVector<QVector2D> QAttribute::asVector2D() const

[virtual] QVector<QVector3D> QAttribute::asVector3D() const

[virtual] QVector<QVector4D> QAttribute::asVector4D() const

QBuffer *QAttribute::buffer() const

[protected] void QAttribute::copy(const Qt3DCore::QNode *ref)

[static] QString QAttribute::defaultColorAttributeName()

[static] QString QAttribute::defaultNormalAttributeName()

[static] QString QAttribute::defaultPositionAttributeName()

[static] QString QAttribute::defaultTangentAttributeName()

[static] QString QAttribute::defaultTextureCoordinateAttributeName()

[virtual] void QAttribute::dump(int count)

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