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 size of the shader constant buffer. /// The gathered input types for the shader. /// The gathered input descriptions for the shader. /// The gathered resource texture descriptions for the shader. /// The description on shader instance fields. /// The buffer precision for the resulting output buffer. /// The channel depth for the resulting output buffer. /// The pixel options used by the shader. /// The key with processed info on the shader. /// The value with processed info on the shader. /// The discovered diagnostics, if any. internal sealed record D2D1ShaderInfo( HierarchyInfo Hierarchy, EquatableArray EffectId, string? EffectDisplayName, string? EffectDescription, string? EffectCategory, string? EffectAuthor, int ConstantBufferSizeInBytes, EquatableArray InputTypes, EquatableArray InputDescriptions, EquatableArray ResourceTextureDescriptions, EquatableArray Fields, D2D1BufferPrecision BufferPrecision, D2D1ChannelDepth ChannelDepth, D2D1PixelOptions PixelOptions, HlslBytecodeInfoKey HlslInfoKey, HlslBytecodeInfo HlslInfo, EquatableArray Diagnostcs);