diff --git a/src/ComputeSharp.D2D1.WinUI.SourceGenerators/Models/CanvasEffectPropertyInfo.cs b/src/ComputeSharp.D2D1.WinUI.SourceGenerators/Models/CanvasEffectPropertyInfo.cs new file mode 100644 index 00000000..2653c9ad --- /dev/null +++ b/src/ComputeSharp.D2D1.WinUI.SourceGenerators/Models/CanvasEffectPropertyInfo.cs @@ -0,0 +1,16 @@ +using ComputeSharp.SourceGeneration.Models; + +namespace ComputeSharp.D2D1.WinUI.SourceGenerators.Models; + +/// +/// A model representing a generated canvas effect property. +/// +/// The hierarchy info for the shader type. +/// The type name for the generated property, including nullability annotations. +/// The generated property name. +/// Whether the old property value is being directly referenced. +internal sealed record CanvasEffectPropertyInfo( + HierarchyInfo Hierarchy, + string PropertyName, + string TypeNameWithNullabilityAnnotations, + bool IsOldPropertyValueDirectlyReferenced);