using ComputeSharp.SourceGeneration.Helpers; using ComputeSharp.SourceGeneration.Models; namespace ComputeSharp.D2D1.SourceGenerators.Models; /// /// A model representing all necessary info for a full generation pass for a [D2D1PixelShaderSource] attribute. /// /// The hierarchy info for the shader type. /// The modifiers for the annotated method (these are values, which can't be equated directly). /// The name of the annotated method. /// The fully qualified name of the return type, if invalid. /// The key with processed info on the shader. /// The value with processed info on the shader. /// The discovered diagnostics, if any. internal sealed record D2D1PixelShaderSourceInfo( HierarchyInfo Hierarchy, EquatableArray Modifiers, string MethodName, string? InvalidReturnType, HlslBytecodeInfoKey HlslInfoKey, HlslBytecodeInfo HlslInfo, EquatableArray Diagnostcs);