# inUse

> Determines whether the current ScriptableRenderPipeline is the same type as the one given by the constructor. Returns true if the ScriptableRenderPipeline is of the type used when constructing the attribute. Otherwise, returns false.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Rendering](/engine/6000.7/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** ScriptableRenderPipelineExtensionAttribute.inUse is deprecated. Use SupportedOnRenderPipelineAttribute.isSupportedOnCurrentPipeline instead. #from(23.1)
>
> **Upgrade to** [SupportedOnRenderPipelineAttribute.isSupportedOnCurrentPipeline](/engine/6000.7/script-reference/unityengine/rendering/supportedonrenderpipelineattribute/issupportedoncurrentpipeline.md)

```csharp
public bool inUse { get; }
```
