Version: 2021.3
LanguageEnglish
  • C#

ScriptableRenderPipelineExtensionAttribute

class in UnityEditor.Rendering

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Use this attribute to apply a condition to a filter that finds the class based on which ScriptableRenderPipeline you are currently using.

Properties

inUseDetermines 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.

Constructors

ScriptableRenderPipelineExtensionAttributeConstruct a ScriptableRenderPipelineExtensionAttribute.