GetRenderPipelineGlobalSettingsAsset
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
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. |