You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs
+23-13Lines changed: 23 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -152,10 +152,14 @@ public TextureSettings textureSettings
152
152
RenderTargetIdentifierm_DistortionBufferRT;
153
153
154
154
// Detect when windows size is changing
155
-
intm_WidthOnRecord;
156
-
intm_HeightOnRecord;
155
+
intm_currentWidth;
156
+
intm_currentHeight;
157
157
158
-
// This must be allocate outside of Rebuild() else the option in the class can't be set in the inspector (as it will in this case recreate the class with default value)
158
+
// Keep these settings safe to recover when leaving the render pipeline
159
+
boolpreviousLightsUseLinearIntensity;
160
+
boolpreviousLightsUseCCT;
161
+
162
+
// This must be allocate outside of Build() else the option in the class can't be set in the inspector (as it will in this case recreate the class with default value)
159
163
BaseLightLoopm_lightLoop=newTilePass.LightLoop();
160
164
161
165
publicBaseLightLooplightLoop
@@ -164,7 +168,7 @@ public BaseLightLoop lightLoop
164
168
}
165
169
166
170
// TODO: Find a way to automatically create/iterate through deferred material
167
-
// TODO TO CHECK: SebL I move allocation from Rebuild() to here, but there was a comment "// Our object can be garbage collected, so need to be allocate here", it is still true ?
171
+
// TODO TO CHECK: SebL I move allocation from Build() to here, but there was a comment "// Our object can be garbage collected, so need to be allocate here", it is still true ?
0 commit comments