浏览代码

HDRenderLoop: Fix Texture settings, change it to struct again

/main
sebastienlagarde 8 年前
当前提交
4da37c9b
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1
      Assets/ScriptableRenderLoop/HDRenderLoop/Editor/HDRenderLoopInspector.cs
  2. 2
      Assets/ScriptableRenderLoop/common/TextureSettings.cs

1
Assets/ScriptableRenderLoop/HDRenderLoop/Editor/HDRenderLoopInspector.cs


if (EditorGUI.EndChangeCheck())
{
renderLoop.textureSettings = textureParameters;
EditorUtility.SetDirty(renderLoop); // Repaint
}
EditorGUI.indentLevel--;

2
Assets/ScriptableRenderLoop/common/TextureSettings.cs


namespace UnityEngine.Experimental.ScriptableRenderLoop
{
[System.Serializable]
public class TextureSettings
public struct TextureSettings
{
public int spotCookieSize;
public int pointCookieSize;

正在加载...
取消
保存