浏览代码

Keep track of parameter override states in the manager (debug)

/main
Thomas 7 年前
当前提交
1ac80103
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 9
      ScriptableRenderPipeline/Core/Volume/VolumeManager.cs

9
ScriptableRenderPipeline/Core/Volume/VolumeManager.cs


m_Components.Add(type, inst);
inst = (VolumeComponent)ScriptableObject.CreateInstance(type);
inst.SetAllOverridesTo(true);
m_ComponentsDefaultState.Add(inst);
}

for (int i = 0; i < count; i++)
{
var fromParam = target.parameters[i];
// Keep track of the override state for debugging purpose
fromParam.overrideState = toParam.overrideState;
{
var fromParam = target.parameters[i];
}
}
}
}

正在加载...
取消
保存