Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Settings/SerializedLowResTransparencySettings.cs

24 lines
819 B
C#
Raw Normal View History

2024-08-26 13:07:20 -07:00
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);
}
}
}