public virtual void SetOutputSettings(PrefabCaptureNode.OutputMode mode, Camera targetCamera) { UpdateSceneComponents(); var pipeline = RenderPipelineManager.currentPipeline; if (pipeline != null) // SRP in use, so we'll use an SRP specific implementation { #if MIXTURE_HDRP if (pipeline.GetType() == typeof(HDRenderPipeline)) { bufferPass.SetOutputSettings(mode, targetCamera); } #endif } else { // TODO: legacy support with replacement shaders } }
internal void SetOutputSettings(PrefabCaptureNode.OutputMode mode, Camera targetCamera) { this.mode = mode; this.targetCamera = targetCamera; }