File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
com.unity.render-pipelines.universal Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1616- Added 2D Renderer Asset Preset for creating a Universal Renderer Asset
1717- Added an option to use faster, but less accurate approximation functions when converting between the sRGB and Linear color spaces.
1818- Added screen space shadow as renderer feature
19+ - Added [ DisallowMultipleRendererFeature] attribute for Renderer Features.
1920
2021### Changed
2122- Optimized 2D Renderer performance on mobile GPUs by reducing the number of render target switches.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace UnityEngine.Rendering.Universal
66 /// <para>Prevents ScriptableRendererFeatures of same type to be added more than once to a Scriptable Renderer.</para>
77 /// </summary>
88 [ AttributeUsage ( AttributeTargets . Class ) ]
9- internal class DisallowMultipleRendererFeature : Attribute
9+ public class DisallowMultipleRendererFeature : Attribute
1010 {
1111 }
1212}
You can’t perform that action at this time.
0 commit comments