Class RenderPipelineGlobalSettingsUI
UI for global settings
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class RenderPipelineGlobalSettingsUI
Methods
DrawShaderStrippingSettings(ISerializedRenderPipelineGlobalSettings, Editor, IDrawer)
Draws the shader stripping settinsg
Declaration
[Obsolete("Use ShaderStrippingSettings instead. #from(23.2).")]
public static void DrawShaderStrippingSettings(ISerializedRenderPipelineGlobalSettings serialized, Editor owner, CoreEditorDrawer<ISerializedRenderPipelineGlobalSettings>.IDrawer additionalShaderStrippingSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ISerializedRenderPipelineGlobalSettings | serialized | The serialized global settings |
Editor | owner | The owner editor |
CoreEditorDrawer<ISerializedRenderPipelineGlobalSettings>.IDrawer | additionalShaderStrippingSettings | Pass another drawer if you want to specify additional shader stripping settings |
DrawVolumeProfileAssetField(SerializedProperty, GUIContent, Func<VolumeProfile>, ref bool)
Draw Volume Profile property field with a foldout scope that ensures that the target cannot become null.
Declaration
public static VolumeProfile DrawVolumeProfileAssetField(SerializedProperty volumeProfileSerializedProperty, GUIContent volumeProfileLabel, Func<VolumeProfile> getOrCreateVolumeProfile, ref bool labelFoldoutExpanded)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | volumeProfileSerializedProperty | Target serialized property |
GUIContent | volumeProfileLabel | Label for the property field |
Func<VolumeProfile> | getOrCreateVolumeProfile | Callback that creates and returns a valid Volume Profile |
bool | labelFoldoutExpanded | Reference parameter indicating whether the foldout is expanded |
Returns
Type | Description |
---|---|
VolumeProfile | The volume profile |