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.
46 lines
908 B
46 lines
908 B
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; } |
|
} |
|
}
|
|
|