From c3f21b4e2834fd257157728e306aef11f06e01d8 Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Thu, 25 Feb 2016 15:54:36 +0100 Subject: QAttribute API changes - rename dataType to vertexBaseType - rename dataSize to vertexSize Change-Id: I0eca7054dd69e8aac69bc1d7d5023a7ca6ca9da2 Reviewed-by: Sean Harmer --- examples/qt3d/compute-particles/ParticlesScene.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/qt3d/compute-particles') 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 -- cgit v1.2.3