namespace ComputeSharp.D2D1.Interop;
///
/// A type containing info on a description for a given D2D1 pixel shader resource resource.
///
public readonly struct D2D1ResourceTextureDescription
{
///
/// Creates a new instance with the specified parameters.
///
/// The index of the resource texture the description belongs to.
/// The number of dimensions of the resource texture the description belongs to.
internal D2D1ResourceTextureDescription(int index, int dimensions)
{
Index = index;
Dimensions = dimensions;
}
///
/// Gets the index of the resource texture the description belongs to.
///
public int Index { get; }
///
/// Gets the rank of the resource texture the description belongs to.
///
public int Dimensions { get; }
}