using System;
namespace UnityEngine.Rendering.HighDefinition
{
///
/// Low resolution transparency upsample type..
///
public enum LowResTransparentUpsample : byte
{
/// Bilinear upsample.
Bilinear,
/// Nearest depth upsample.
NearestDepth
}
///
/// Global Low Resolution Transparency Settings.
///
[Serializable]
public struct GlobalLowResolutionTransparencySettings
{
internal static GlobalLowResolutionTransparencySettings NewDefault() => new GlobalLowResolutionTransparencySettings()
{
enabled = true,
checkerboardDepthBuffer = true,
upsampleType = LowResTransparentUpsample.NearestDepth
};
///
/// Enable low resolution transparency upsample.
///
public bool enabled;
///
/// Enable checkerboard depth buffer.
///
public bool checkerboardDepthBuffer;
/// Low resolution transparency upsample type.
public LowResTransparentUpsample upsampleType;
}
}