Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Settings/SerializedLowResTransparencySettings.cs
2024-08-26 23:07:20 +03:00

24 lines
819 B
C#

using UnityEditor.Rendering;
using UnityEngine.Rendering.HighDefinition;
namespace UnityEditor.Rendering.HighDefinition
{
class SerializedLowResTransparencySettings
{
public SerializedProperty root;
public SerializedProperty enabled;
public SerializedProperty checkerboardDepthBuffer;
public SerializedProperty upsampleType;
public SerializedLowResTransparencySettings(SerializedProperty root)
{
this.root = root;
enabled = root.Find((GlobalLowResolutionTransparencySettings s) => s.enabled);
checkerboardDepthBuffer = root.Find((GlobalLowResolutionTransparencySettings s) => s.checkerboardDepthBuffer);
upsampleType = root.Find((GlobalLowResolutionTransparencySettings s) => s.upsampleType);
}
}
}