using System; namespace ComputeSharp.D2D1; /// /// An attribute for a D2D1 shader indicating the pixel options to use. /// Using this attribute is optional when defining a D2D1 shader. /// /// /// For more info, see . /// /// The options to specify for the shader. [AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)] public sealed class D2DPixelOptionsAttribute(D2D1PixelOptions options) : Attribute { /// /// Gets the options to specify for the shader. /// public D2D1PixelOptions Options { get; } = options; }