Example #1
0
 /// <inheritdoc/>
 public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
 {
     if (_outlineResources && _outlineResources.IsValid)
     {
         _outlinePass.Setup(renderer);
         renderer.EnqueuePass(_outlinePass);
     }
 }
Example #2
0
 /// <inheritdoc/>
 public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
 {
     if (_outlineResources && _outlineResources.IsValid && _outlineLayers)
     {
         _outlinePass.Setup(renderer.cameraColorTarget, renderer.cameraDepth);
         renderer.EnqueuePass(_outlinePass);
     }
 }