You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.9 KiB
54 lines
1.9 KiB
#if UNITY_EDITOR
|
|
using System;
|
|
|
|
namespace UnityEngine.Rendering.HighDefinition
|
|
{
|
|
[Serializable]
|
|
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
|
|
[Categorization.CategoryInfo(Name = "R: Editor Assets", Order = 1000), HideInInspector]
|
|
class HDRenderPipelineEditorAssets : IRenderPipelineResources, IDefaultVolumeProfileAsset
|
|
{
|
|
public int version => 0;
|
|
|
|
#region Volume Profiles
|
|
[Header("Volumes")]
|
|
[SerializeField]
|
|
[ResourcePath("Editor/RenderPipelineResources/DefaultSettingsVolumeProfile.asset")]
|
|
private VolumeProfile m_DefaultSettingsVolumeProfile;
|
|
|
|
public VolumeProfile defaultVolumeProfile
|
|
{
|
|
get => m_DefaultSettingsVolumeProfile;
|
|
set => this.SetValueAndNotify(ref m_DefaultSettingsVolumeProfile, value);
|
|
}
|
|
|
|
[SerializeField]
|
|
[ResourcePath("Editor/RenderPipelineResources/DefaultLookDevProfile.asset")]
|
|
private VolumeProfile m_LookDevDefaultLookDevVolumeProfile;
|
|
|
|
public VolumeProfile lookDevVolumeProfile
|
|
{
|
|
get => m_LookDevDefaultLookDevVolumeProfile;
|
|
set => this.SetValueAndNotify(ref m_LookDevDefaultLookDevVolumeProfile, value);
|
|
}
|
|
#endregion
|
|
|
|
#region Diffusion Profiles
|
|
[Header("Diffusion Profiles")]
|
|
[ResourcePaths(new[]
|
|
{
|
|
"Runtime/RenderPipelineResources/SkinDiffusionProfile.asset",
|
|
"Runtime/RenderPipelineResources/FoliageDiffusionProfile.asset"
|
|
})]
|
|
[SerializeField]
|
|
private DiffusionProfileSettings[] m_DefaultDiffusionProfileSettingsList;
|
|
|
|
public DiffusionProfileSettings[] defaultDiffusionProfileSettingsList
|
|
{
|
|
get => m_DefaultDiffusionProfileSettingsList;
|
|
set => this.SetValueAndNotify(ref m_DefaultDiffusionProfileSettingsList, value);
|
|
}
|
|
#endregion
|
|
}
|
|
}
|
|
#endif
|