making renderMeshes mode switchable