Replaced uses of VertexID and InstanceID.

Switched to using InstanceIndex and VertexIndex.
2 files changed