How to set/get property 'renderer' from camera ?

I created additional renderer with custom shader effect in URP. Now I want to change Renderer via code from Default Renderer to my custom Renderer ? How can I do this ? Thank you in advance.

The scriptable render pipeline is not part of the camera but a global setting. This can be read in the documentation about the SRP. So you just have to use Rendering.GraphicsSettings.renderPipelineAsset

var additionalCameraData = cam.transform.GetComponent();
You can refer to the following link: