QAbstractBuffer Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QAbstractBuffer

Qt 5.6.0 Reference Documentation

# QAbstractBuffer Class

(Qt3DRender::QAbstractBuffer)

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

- List of all members, including inherited members

## Public Functions

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

- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject

## Signals

void | dataChanged(const QByteArray &bytes)

- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject

### Additional Inherited Members

- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode

## Detailed Description

Abstract class.

## Member Function Documentation

### QAbstractBuffer::QAbstractBuffer(QNode *parent = 0)

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().