您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
30 行
1.4 KiB
30 行
1.4 KiB
using UnityEngine.Experimental.Rendering.HDPipeline;
|
|
|
|
namespace UnityEditor.Experimental.Rendering.HDPipeline
|
|
{
|
|
public class SerializedLightLoopSettings
|
|
{
|
|
public SerializedProperty root;
|
|
|
|
public SerializedProperty enableTileAndCluster;
|
|
public SerializedProperty enableComputeLightEvaluation;
|
|
public SerializedProperty enableComputeLightVariants;
|
|
public SerializedProperty enableComputeMaterialVariants;
|
|
public SerializedProperty enableFptlForForwardOpaque;
|
|
public SerializedProperty enableBigTilePrepass;
|
|
public SerializedProperty isFptlEnabled;
|
|
|
|
public SerializedLightLoopSettings(SerializedProperty root)
|
|
{
|
|
this.root = root;
|
|
|
|
enableTileAndCluster = root.Find((LightLoopSettings l) => l.enableTileAndCluster);
|
|
enableComputeLightEvaluation = root.Find((LightLoopSettings l) => l.enableComputeLightEvaluation);
|
|
enableComputeLightVariants = root.Find((LightLoopSettings l) => l.enableComputeLightVariants);
|
|
enableComputeMaterialVariants = root.Find((LightLoopSettings l) => l.enableComputeMaterialVariants);
|
|
enableFptlForForwardOpaque = root.Find((LightLoopSettings l) => l.enableFptlForForwardOpaque);
|
|
enableBigTilePrepass = root.Find((LightLoopSettings l) => l.enableBigTilePrepass);
|
|
isFptlEnabled = root.Find((LightLoopSettings l) => l.isFptlEnabled);
|
|
}
|
|
}
|
|
}
|