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