29 QQuick3DGeometryPrivate();
39 static const int MAX_ATTRIBUTE_COUNT = 16;
40 static const int MAX_TARGET_ATTRIBUTE_COUNT = 32;
41 QByteArray m_vertexBuffer;
42 QByteArray m_targetBuffer;
43 QByteArray m_indexBuffer;
44 QQuick3DGeometry::Attribute m_attributes[MAX_ATTRIBUTE_COUNT];
45 QVector<Subset> m_subsets;
46 int m_attributeCount = 0;
47 QQuick3DGeometry::TargetAttribute m_targetAttributes[MAX_TARGET_ATTRIBUTE_COUNT];
48 int m_targetAttributeCount = 0;
49 QQuick3DGeometry::PrimitiveType m_primitiveType = QQuick3DGeometry::PrimitiveType::Triangles;
53 bool m_geometryChanged =
true;
54 bool m_geometryBoundsChanged =
true;
55 bool m_targetChanged =
true;
56 bool m_usesOldTargetSemantics =
false;
58 static QQuick3DGeometry::Attribute::Semantic semanticFromName(
const QByteArray &name);
59 static QQuick3DGeometry::Attribute::ComponentType toComponentType(QSSGMesh::Mesh::ComponentType componentType);