Currently I am rendering mesh in unity editor using
EditorApplication.update += DrawMesh;
private void DrawMesh()
{
var rp = new RenderParams(material);
Graphics.RenderMesh(rp, _input, 0, _matrix);
}
However, this causes a very high overdraw count, and lag when camera move closer to the mesh.