SetRenderPipelineGlobalSettingsAsset
The method sets the association between the given RenderPipeline asset and the RenderPipelineGlobalSettings asset.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor
SetRenderPipelineGlobalSettingsAsset(Type, RenderPipelineGlobalSettings)
The method sets the association between the given RenderPipeline asset and the RenderPipelineGlobalSettings asset.
public static void SetRenderPipelineGlobalSettingsAsset(Type renderPipelineType, RenderPipelineGlobalSettings newSettings)
Parameters
A valid RenderPipeline type.
A valid instance of the RenderPipelineGlobalSettings asset to create the association or null to remove the association.
SetRenderPipelineGlobalSettingsAsset<T>(RenderPipelineGlobalSettings)
The method sets the association between the given RenderPipeline asset and the RenderPipelineGlobalSettings asset.
public static void SetRenderPipelineGlobalSettingsAsset<T>(RenderPipelineGlobalSettings newSettings) where T : RenderPipeline
Parameters
A valid instance of the RenderPipelineGlobalSettings asset to create the association or null to remove the association.