# currentPipeline

> Returns the active RenderPipeline.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Rendering](/engine/6000.5/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static RenderPipeline currentPipeline { get; }
```

### Remarks

The active render pipeline is the render pipeline that Unity is currently using to render your application and parts of the Editor such as the Scene view and Game view. The active render pipeline can be a default value, or you can set override values for different quality levels.

Unity updates this property only after rendering at least one frame with the active render pipeline, which can take up to four calls to [Update](/engine/6000.5/script-reference/unityengine/monobehaviour/update.md). This means that this property is `null` on startup, and does not immediately reflect changes to the active render pipeline.

You can access the [RenderPipelineAsset](/engine/6000.5/script-reference/unityengine/rendering/renderpipelineasset.md) that defines the active render pipeline with [GraphicsSettings.currentRenderPipeline](/engine/6000.5/script-reference/unityengine/rendering/graphicssettings/currentrenderpipeline.md). `GraphicsSettings.currentRenderPipeline` is always up to date, which means that you can query it on startup or immediately after changing the active render pipeline.

Additional Resources: [How to get, set, and configure the active render pipeline](/engine/6000.5/manual/render-pipelines/choose-a-render-pipeline/srp-setting-render-pipeline-asset.md), [GraphicsSettings.currentRenderPipeline](/engine/6000.5/script-reference/unityengine/rendering/graphicssettings/currentrenderpipeline.md), [GraphicsSettings.defaultRenderPipeline](/engine/6000.5/script-reference/unityengine/rendering/graphicssettings/defaultrenderpipeline.md), [QualitySettings.renderPipeline](/engine/6000.5/script-reference/unityengine/qualitysettings/renderpipeline.md), [RenderPipelineManager.activeRenderPipelineTypeChanged](/engine/6000.5/script-reference/unityengine/rendering/renderpipelinemanager/activerenderpipelinetypechanged.md).
