Disable the drawing of entities on render.RenderView?

I have made a minimap in my custom gamemode using

render.RenderView but it draws every single entity on the entire map in front of the local player which causes frame drops of around 20 fps, is there any way to make it only draw the world and no other entities?