Firstborn/Library/PackageCache/com.unity.render-pipelines..../Editor/UpgradeCommon.cs
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

47 lines
908 B
C#

using UnityEngine.Scripting.APIUpdating;
namespace UnityEditor.Rendering.Universal
{
public enum UpgradeSurfaceType
{
Opaque,
Transparent
}
public enum UpgradeBlendMode
{
Alpha,
Premultiply,
Additive,
Multiply
}
public enum SpecularSource
{
SpecularTextureAndColor,
NoSpecular
}
public enum SmoothnessSource
{
SpecularAlpha,
BaseAlpha,
}
public enum ReflectionSource
{
NoReflection,
Cubemap,
ReflectionProbe
}
public struct UpgradeParams
{
public UpgradeSurfaceType surfaceType { get; set; }
public UpgradeBlendMode blendMode { get; set; }
public bool alphaClip { get; set; }
public SpecularSource specularSource { get; set; }
public SmoothnessSource smoothnessSource { get; set; }
}
}