Is there a way to cull out certain objects?

I’m trying to make a minimap that will have the updated positions of players, npcs, and other marker type things in the scene in real-time. Each of those objects have markers above them, that will only be rendered by the minimap camera, however I can not seem to find a way to make it so that the minimap camera only renders the layers that I want.

Is there a way to cull out certain objects or layers for a specific camera?