QAbstractAttribute Class
(Qt3D::QAbstractAttribute)| Inherits: | QNode |
Public Types
| enum | AttributeType { VertexAttribute, IndexAttribute } |
| enum | DataType { Byte, UnsignedByte, Short, UnsignedShort, ..., Double } |
Properties
|
- 1 property inherited from Qt3D::QNode
- 1 property inherited from QObject
Public Functions
| QAbstractAttribute(QNode * parent = 0) | |
| QAbstractAttribute(QAbstractBuffer * buf, DataType dataType, uint dataSize, uint count, uint offset = 0, uint stride = 0, QNode * parent = 0) | |
| ~QAbstractAttribute() | |
| virtual QVector<QVector2D> | asVector2D() const = 0 |
| virtual QVector<QVector3D> | asVector3D() const = 0 |
| virtual QVector<QVector4D> | asVector4D() const = 0 |
| AttributeType | attributeType() const |
| QAbstractBuffer * | buffer() const |
| uint | byteOffset() const |
| uint | byteStride() const |
| uint | count() const |
| uint | dataSize() const |
| DataType | dataType() const |
| uint | divisor() const |
| virtual void | dump(int count) = 0 |
| QString | name() const |
| void | setAttributeType(AttributeType attributeType) |
| void | setBuffer(QAbstractBuffer * buffer) |
| void | setByteOffset(uint byteOffset) |
| void | setByteStride(uint byteStride) |
| void | setCount(uint count) |
| void | setDataSize(uint size) |
| void | setDataType(DataType type) |
| void | setDivisor(uint divisor) |
| void | setName(const QString & name) |
- 6 public functions inherited from Qt3D::QNode
- 31 public functions inherited from QObject
Signals
| void | attributeTypeChanged() |
| void | bufferChanged() |
| void | byteOffsetChanged() |
| void | byteStrideChanged() |
| void | countChanged() |
| void | dataSizeChanged() |
| void | dataTypeChanged() |
| void | divisorChanged() |
| void | nameChanged() |
- 1 signal inherited from Qt3D::QNode
- 2 signals inherited from QObject
Protected Functions
| QAbstractAttribute(QAbstractAttributePrivate & dd, QNode * parent = 0) | |
| QAbstractAttribute(QAbstractAttributePrivate & dd, QAbstractBuffer * buf, const QString & name, DataType dataType, uint dataSize, uint count, uint offset = 0, uint stride = 0, QNode * parent = 0) |
Reimplemented Protected Functions
| virtual void | copy(const QNode * ref) |
- 3 protected functions inherited from Qt3D::QNode
- 9 protected functions inherited from QObject
Additional Inherited Members
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
- 1 static protected member inherited from Qt3D::QNode
Property Documentation
attributeType : AttributeType
Access functions:
| AttributeType | attributeType() const |
| void | setAttributeType(AttributeType attributeType) |
Notifier signal:
| void | attributeTypeChanged() |
buffer : Qt3D::QAbstractBuffer *
Access functions:
| QAbstractBuffer * | buffer() const |
| void | setBuffer(QAbstractBuffer * buffer) |
Notifier signal:
| void | bufferChanged() |
byteOffset : uint
Access functions:
| uint | byteOffset() const |
| void | setByteOffset(uint byteOffset) |
Notifier signal:
| void | byteOffsetChanged() |
byteStride : uint
Access functions:
| uint | byteStride() const |
| void | setByteStride(uint byteStride) |
Notifier signal:
| void | byteStrideChanged() |
count : uint
Access functions:
| uint | count() const |
| void | setCount(uint count) |
Notifier signal:
| void | countChanged() |
dataSize : uint
Access functions:
| uint | dataSize() const |
| void | setDataSize(uint size) |
Notifier signal:
| void | dataSizeChanged() |
dataType : DataType
Access functions:
| DataType | dataType() const |
| void | setDataType(DataType type) |
Notifier signal:
| void | dataTypeChanged() |
divisor : uint
Access functions:
| uint | divisor() const |
| void | setDivisor(uint divisor) |
Notifier signal:
| void | divisorChanged() |
name : QString
Access functions:
| QString | name() const |
| void | setName(const QString & name) |
Notifier signal:
| void | nameChanged() |