Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

RenderPipelineEditorUtility

class in UnityEditor.Rendering

Description

Helper class that contains a utility function on ScriptableRenderPipeline for Editor.

Static Methods

Description
GetDerivedTypesSupportedOnCurrentPipelineReturns the types that're children of T and have a SupportedOnRenderPipelineAttribute corresponding to the render pipeline you're using. Order of the return types is arbitrary.
GetPipelineTypeFromPipelineAssetTypeGiven a RenderPipelineAsset type, returns the corresponding RenderPipeline type.
TryAddRenderingLayerNameAdd a new Layer to Rendering Layers in the Tags and Layers manager.
TryRemoveLastRenderingLayerNameRemove a last Layer to Rendering Layers in the Tags and Layers manager. The default Rendering Layer cannot be removed.
TrySetRenderingLayerNameGive a possibility to change a Rendering Layer name.