Will work with any attribute and vertex declaration Former-commit-id: ca99734bd8a9c3e57c99b1cc338f03e79dda55f6