Skip to content

Commit f8c34fe

Browse files
Merge pull request #38 from Unity-Technologies/Fix-Texture-settings
HDRenderLoop: Fix Texture settings, change it to struct again
2 parents 07e151d + e7eab7f commit f8c34fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Assets/ScriptableRenderLoop/HDRenderLoop/Editor/HDRenderLoopInspector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public override void OnInspectorGUI()
258258

259259
if (EditorGUI.EndChangeCheck())
260260
{
261+
renderLoop.textureSettings = textureParameters;
261262
EditorUtility.SetDirty(renderLoop); // Repaint
262263
}
263264
EditorGUI.indentLevel--;

Assets/ScriptableRenderLoop/common/TextureSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace UnityEngine.Experimental.ScriptableRenderLoop
22
{
33
[System.Serializable]
4-
public class TextureSettings
4+
public struct TextureSettings
55
{
66
public int spotCookieSize;
77
public int pointCookieSize;

0 commit comments

Comments
 (0)