XBatch now uses shared_ptr<XVertexBuffer>

To avoid copy overhead