FSR2 tests in Unity based on built-in render pipeline
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
752 B

using System;
namespace UnityEngine.Rendering.PostProcessing
{
/// <summary>
/// Use this attribute to change the label of a field displayed in the inspector.
/// </summary>
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class DisplayNameAttribute : Attribute
{
/// <summary>
/// The label displayed in the inspector.
/// </summary>
public readonly string displayName;
/// <summary>
/// Creates a new attribute.
/// </summary>
/// <param name="displayName">The label to display in the inspector</param>
public DisplayNameAttribute(string displayName)
{
this.displayName = displayName;
}
}
}