Class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>
Render Pipeline Settings provider
Inheritance
RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>
Inherited Members
SettingsProvider.PopulateSearchKeywordsFromGUIContentProperties<T>()
SettingsProvider.ToString()
SettingsProvider.GetSearchKeywordsFromGUIContentProperties<T>()
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[Obsolete("This is obsolete. GlobalSettingsAsset content are transformed in IRenderPipelineGraphicsSettings and they are directly embedded in Projectsettings > Graphics #from(2023.3)")]
public abstract class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings> : SettingsProvider where TRenderPipeline : RenderPipeline where TGlobalSettings : RenderPipelineGlobalSettings
Type Parameters
| Name | Description |
|---|---|
| TRenderPipeline | |
| TGlobalSettings |
Constructors
RenderPipelineGlobalSettingsProvider(string)
Constructor
Declaration
public RenderPipelineGlobalSettingsProvider(string v)
Parameters
| Type | Name | Description |
|---|---|---|
| string | v | The path of the settings |
Methods
Clone(RenderPipelineGlobalSettings, bool)
Clones the RenderPipelineGlobalSettings asset
Declaration
protected virtual void Clone(RenderPipelineGlobalSettings source, bool activateAsset)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderPipelineGlobalSettings | source | The RenderPipelineGlobalSettings to clone. |
| bool | activateAsset | if the asset should be shown on the inspector. |
Create(bool, bool)
Creates a new RenderPipelineGlobalSettings asset
Declaration
protected virtual void Create(bool useProjectSettingsFolder, bool activateAsset)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | useProjectSettingsFolder | If the asset should be created on the project settings folder |
| bool | activateAsset | if the asset should be shown on the inspector |
Ensure()
Ensures that the RenderPipelineGlobalSettings asset is correct
Declaration
protected abstract void Ensure()
OnActivate(string, VisualElement)
This method is being called when the provider is activated
Declaration
public override void OnActivate(string searchContext, VisualElement rootElement)
Parameters
| Type | Name | Description |
|---|---|---|
| string | searchContext | The context with the search |
| VisualElement | rootElement | The VisualElement with the root |
Overrides
OnDeactivate()
This method is being called when the provider is deactivated
Declaration
public override void OnDeactivate()
Overrides
OnGUI(string)
Method called to render the IMGUI of the settings provider
Declaration
public override void OnGUI(string searchContext)
Parameters
| Type | Name | Description |
|---|---|---|
| string | searchContext | The search content |
Overrides
OnTitleBarGUI()
Method called when the title bar is being rendered
Declaration
public override void OnTitleBarGUI()