using ComputeSharp.SourceGeneration.Models; using Microsoft.CodeAnalysis; #if WINDOWS_UWP namespace ComputeSharp.D2D1.Uwp.SourceGenerators.Models; #else namespace ComputeSharp.D2D1.WinUI.SourceGenerators.Models; #endif /// /// A model representing a generated canvas effect property. /// /// The hierarchy info for the shader type. /// The generated property name. /// The accessibility of the property, if available. /// The accessibility of the accessor, if available. /// The accessibility of the accessor, if available. /// The type name for the generated property, including nullability annotations. /// Indicates whether the property is of a reference type or an unconstrained type parameter. /// Whether or not the generated property should be marked as required. /// The invalidation type to request. internal sealed record CanvasEffectPropertyInfo( HierarchyInfo Hierarchy, string PropertyName, Accessibility DeclaredAccessibility, Accessibility GetterAccessibility, Accessibility SetterAccessibility, string TypeNameWithNullabilityAnnotations, bool IsReferenceTypeOrUnconstraindTypeParameter, bool IsRequired, CanvasEffectInvalidationType InvalidationType);