diff options
Diffstat (limited to 'examples/qt3d/compute-particles/ParticlesScene.qml')
-rw-r--r-- | examples/qt3d/compute-particles/ParticlesScene.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qt3d/compute-particles/ParticlesScene.qml b/examples/qt3d/compute-particles/ParticlesScene.qml index aaaa25114..4ba9896f0 100644 --- a/examples/qt3d/compute-particles/ParticlesScene.qml +++ b/examples/qt3d/compute-particles/ParticlesScene.qml @@ -129,8 +129,8 @@ Entity { id: particlePositionDataAttribute name: "particlePosition" attributeType: Attribute.VertexAttribute - dataType: Attribute.Float - dataSize: 3 + vertexBaseType: Attribute.Float + vertexSize: 3 divisor: 1 byteStride: 12 * floatSize buffer: particleBuffer @@ -140,8 +140,8 @@ Entity { id: particleColorDataAttribute name: "particleColor" attributeType: Attribute.VertexAttribute - dataType: Attribute.Float - dataSize: 3 + vertexBaseType: Attribute.Float + vertexSize: 3 divisor: 1 byteOffset: 8 * floatSize byteStride: 12 * floatSize |