GetRenderPipelineGlobalSettingsAsset
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor
GetRenderPipelineGlobalSettingsAsset(Type)
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
public static RenderPipelineGlobalSettings GetRenderPipelineGlobalSettingsAsset(Type renderPipelineType)
Parameters
The type of the RenderPipeline asset to get the RenderPipelineGlobalSettings asset from.
Returns
Type | Description |
|---|---|
| RenderPipelineGlobalSettings | The asset reference. |
GetRenderPipelineGlobalSettingsAsset<T>()
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
public static RenderPipelineGlobalSettings GetRenderPipelineGlobalSettingsAsset<T>() where T : RenderPipeline
Returns
Type | Description |
|---|---|
| RenderPipelineGlobalSettings | The asset reference. |