You could set the ClsMode of the camera to false,true.
That is, only clear the zbuffer.
1) Clear the screen with CLS or RECT
2) Draw the 2D grid
3) Render Entities
That is, only clear the zbuffer.
1) Clear the screen with CLS or RECT
2) Draw the 2D grid
3) Render Entities