您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
32 行
803 B
32 行
803 B
using UnityEngine;
|
|
|
|
namespace UnityEngine.Experimental.ScriptableRenderLoop
|
|
{
|
|
namespace Attributes
|
|
{
|
|
// 0 is reserved!
|
|
|
|
[GenerateHLSL]
|
|
public enum DebugViewVarying
|
|
{
|
|
Texcoord0 = 1,
|
|
Texcoord1,
|
|
Texcoord2,
|
|
Texcoord3,
|
|
VertexTangentWS,
|
|
VertexBitangentWS,
|
|
VertexNormalWS,
|
|
VertexColor,
|
|
VertexColorAlpha,
|
|
// caution if you add something here, it must start below
|
|
};
|
|
|
|
// Number must be contiguous
|
|
[GenerateHLSL]
|
|
public enum DebugViewGbuffer
|
|
{
|
|
Depth = DebugViewVarying.VertexColorAlpha + 1,
|
|
BakeDiffuseLighting,
|
|
}
|
|
}
|
|
} // namespace UnityEngine.Experimental.ScriptableRenderLoop
|