Add initial 'CanvasEffectPropertyInfo' type

このコミットが含まれているのは:
Sergio Pedri committed 2024-10-17 21:41:03 -07:00
1 親 8185999b72
コミット 616766bc80
1ファイル変更
+16
+16
ファイルの表示
@@ -0,0 +1,16 @@
using ComputeSharp.SourceGeneration.Models;
namespace ComputeSharp.D2D1.WinUI.SourceGenerators.Models;
/// <summary>
/// A model representing a generated canvas effect property.
/// </summary>
/// <param name="Hierarchy">The hierarchy info for the shader type.</param>
/// <param name="TypeNameWithNullabilityAnnotations">The type name for the generated property, including nullability annotations.</param>
/// <param name="PropertyName">The generated property name.</param>
/// <param name="IsOldPropertyValueDirectlyReferenced">Whether the old property value is being directly referenced.</param>
internal sealed record CanvasEffectPropertyInfo(
HierarchyInfo Hierarchy,
string PropertyName,
string TypeNameWithNullabilityAnnotations,
bool IsOldPropertyValueDirectlyReferenced);