浏览代码

Merge pull request #38 from Unity-Technologies/Fix-Texture-settings

HDRenderLoop: Fix Texture settings, change it to struct again
/main
GitHub 8 年前
当前提交
9cc23eb7
共有 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;

正在加载...
取消
保存