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 D2D1 shader. /// /// The hierarchy info for the shader type. /// The GUID bytes for the effect id. /// The effect display name for the shader type, if available. /// The effect description for the shader type, if available. /// The effect category for the shader type, if available. /// The effect author for the shader type, if available. /// The gathered shader dispatch data. /// The gathered input types for the shader. /// The gathered resource texture descriptions for the shader. /// The processed HLSL source for the shader. /// The output buffer info for the shader. /// The gathered input descriptions for the shader. /// The pixel options used by the shader. /// The discovered diagnostics, if any. internal sealed record D2D1ShaderInfo( HierarchyInfo Hierarchy, EquatableArray EffectId, string? EffectDisplayName, string? EffectDescription, string? EffectCategory, string? EffectAuthor, DispatchDataInfo DispatchData, InputTypesInfo InputTypes, ResourceTextureDescriptionsInfo ResourceTextureDescriptions, HlslShaderSourceInfo HlslShaderSource, OutputBufferInfo OutputBuffer, InputDescriptionsInfo InputDescriptions, D2D1PixelOptions PixelOptions, EquatableArray Diagnostcs);