Added instance rendering to mesh class.