ファイル
ComputeSharp/src/ComputeSharp.D2D1/Attributes/D2DEffectDescriptionAttribute.cs
T

19 行
610 B
C#

using System;
namespace ComputeSharp.D2D1;
/// <summary>
/// An attribute for a D2D1 shader indicating the description of the shader effect to create.
/// </summary>
/// <remarks>
/// This only applies to effects created from <see cref="Interop.D2D1PixelShaderEffect"/>.
/// </remarks>
/// <param name="value">The value for the description.</param>
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
public sealed class D2DEffectDescriptionAttribute(string value) : Attribute
{
/// <summary>
/// Gets the description value.
/// </summary>
public string Value { get; } = value;
}