Skip to content

Commit 9cf8ac1

Browse files
Merge branch 'master' into hd/bugfix
2 parents b68ce13 + 433f423 commit 9cf8ac1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

com.unity.render-pipelines.universal/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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.

com.unity.render-pipelines.universal/Runtime/RendererFeatures/DisallowMultipleRendererFeature.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)