using System; namespace ComputeSharp.D2D1; /// /// An attribute for a D2D1 shader indicating the id of the shader effect to create. /// /// /// This only applies to effects created from . /// /// The value for the effect id. [AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)] public sealed class D2DEffectIdAttribute(string value) : Attribute { /// /// Gets the effect id value. /// public Guid Value { get; } = Guid.Parse(value); }