Added QSGGeometry::Attribute::isPosition to give a hint about vertex data
authorGunnar Sletta <gunnar.sletta@nokia.com>
Mon, 5 Sep 2011 05:50:58 +0000 (07:50 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 7 Sep 2011 07:00:27 +0000 (09:00 +0200)
commite5a93d6ea1c9eb9982e98a6a5b1f52719fe446e6
treef7692ce697142ce10a6ebf088aa7bf1e4277a012
parentf696ddad0eaab53104f2f2ed85979ecd2c1a9259
Added QSGGeometry::Attribute::isPosition to give a hint about vertex data

Also added a QSGGeomtry::sizeOfIndex() function for convenience

Change-Id: If1f13afd4c1c5295dcfb00254144ef6b8b8b7878
Reviewed-on: http://codereview.qt.nokia.com/4307
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/declarative/items/qsgspriteimage.cpp
src/declarative/particles/qsgcustomparticle.cpp
src/declarative/particles/qsgimageparticle.cpp
src/declarative/scenegraph/coreapi/qsggeometry.cpp
src/declarative/scenegraph/coreapi/qsggeometry.h