I'm trying to get a list of currently activated render passes for a view layer.
For a scene 'Scene' and a view layer labelled 'my_vl', I can query individual pass status by returning True or False (e.g. the normal pass) like this:
But is there a way to return a list of activated passes?
(I assume the Render Layers compositing node queries the passes to activate its outputs, but I can't figure out how.)
I found this update_render_passes method, but I'm not familiar with its purpose or useage:
..and I get nothing in the console after running it as above.