QAttribute Class

(Qt3D::QAttribute)
Inherits:

Public Functions

QAttribute(QNode * parent = 0)
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()
QVector<QVector2D> asVector2D() const
QVector<QVector3D> asVector3D() const
QVector<QVector4D> asVector4D() const
QBuffer * buffer() const
void dump(int count)

Static Public Members

Protected Functions

void copy(const QNode * ref)

Member Function Documentation

QAttribute::QAttribute(QNode * parent = 0)

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

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

QAttribute::~QAttribute()

QVector<QVector2D> QAttribute::asVector2D() const

QVector<QVector3D> QAttribute::asVector3D() const

QVector<QVector4D> QAttribute::asVector4D() const

QBuffer * QAttribute::buffer() const

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

[static] QString QAttribute::defaultColorAttributeName()

[static] QString QAttribute::defaultNormalAttributeName()

[static] QString QAttribute::defaultPositionAttributeName()

[static] QString QAttribute::defaultTangentAttributeName()

[static] QString QAttribute::defaultTextureCoordinateAttributeName()

void QAttribute::dump(int count)

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