How to render a camera from script?

I want to render multiple objects using the same camera into different render targets, all withing the same frame.
Something like Unity‘s camera.render() can achieve.
How can I do that with playcanvas?

Why don’t you want to use special camera for that?

Because I have abt 100 objects that I want to render individually into sprites and I don’t think it’s a clean solution to have 100 cameras. Also, the rendered sprites need to be available to shaders for the final rendering within the same frame.
I’m looking for a clean programmatical solution.