#DrawRenderer for multiple specific Renderers at once

1 messages · Page 1 of 1 (latest)

cloud loom
#

Hello,

I'm wondering whether there is any API to render multiple specific Renderers (an array) in a single drawcall? Essentially DrawRenderer but for multiple Renderers.

I'm aware of DrawRendererList, however it seems to select the Renderers primarily through LayersMasks/Rendering Layers rather than a known list.

In my use-case I need to set the desired Renderers through a script. My current solution is simply execute N DrawRenderer for each of the Renderers I wish to render, which seems to be wasteful (unless RenderGraph optimises it somehow).

So, is there any API for this particular use-case? Thanks for any answers.