using System;
namespace ComputeSharp.D2D1;
///
/// An attribute for a D2D1 shader indicating the number of texture inputs for the shader.
/// Using this attribute is mandatory when defining a D2D1 shader.
///
///
/// This attribute directly maps to #define D2D_INPUT_COUNT <N>.
/// For more info, see .
///
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
public sealed class D2DInputCountAttribute : Attribute
{
///
/// Creates a new instance of the type with the specified arguments.
///
/// The number of texture inputs for the shader.
public D2DInputCountAttribute(int count)
{
Count = count;
}
///
/// Gets the number of texture inputs for the shader.
///
public int Count { get; }
}