Implemented basic vertex collection visitor for d3d.