19 行
618 B
C#
19 行
618 B
C#
using System;
|
|
|
|
namespace ComputeSharp.D2D1;
|
|
|
|
/// <summary>
|
|
/// An attribute for a D2D1 shader indicating the author 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 author.</param>
|
|
[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = false)]
|
|
public sealed class D2DEffectAuthorAttribute(string value) : Attribute
|
|
{
|
|
/// <summary>
|
|
/// Gets the author value.
|
|
/// </summary>
|
|
public string Value { get; } = value;
|
|
} |