Getting the Renderer options for the current pass is just a one-liner:
Application.GetValue( "Passes.Current.RendererOptions" )
Getting the Renderer options for the current pass is just a one-liner:
Application.GetValue( "Passes.Current.RendererOptions" )
Another alternative:
renderer = Application.GetCurrentPass().Renderer
That’s a good snippet in its own right, but it gets the renderer, not the renderer options. Also, it is not totally obscure like my snippet 🙂