QAbstractBuffer Class

(Qt3DRender::QAbstractBuffer)
Header: #include <QAbstractBuffer>
qmake: QT += 3drender
Instantiated By: AbstractBuffer
Inherits: Qt3DCore::QNode
Inherited By:

Qt3DRender::QBuffer

Public Functions

QAbstractBuffer(QNode *parent = Q_NULLPTR)
virtual ~QAbstractBuffer()
QByteArray data() const
void setData(const QByteArray &bytes)

Signals

void dataChanged(const QByteArray &bytes)

Additional Inherited Members

Detailed Description

Abstract class.

Member Function Documentation

QAbstractBuffer::QAbstractBuffer(QNode *parent = Q_NULLPTR)

Constructs a new QAbstractBuffer with parent.

[virtual] QAbstractBuffer::~QAbstractBuffer()

Destroys the abstract buffer.

QByteArray QAbstractBuffer::data() const

Returns the data.

See also setData().

[signal] void QAbstractBuffer::dataChanged(const QByteArray &bytes)

This signal is emitted with bytes when data changes.

void QAbstractBuffer::setData(const QByteArray &bytes)

Sets bytes as data.

See also data().

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