meshrenderer checks mesh before pushing to gpu