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 effect id info for the shader type.
/// The effect display name 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,
EffectIdInfo EffectId,
string? EffectDisplayName,
DispatchDataInfo DispatchData,
InputTypesInfo InputTypes,
ResourceTextureDescriptionsInfo ResourceTextureDescriptions,
HlslShaderSourceInfo HlslShaderSource,
OutputBufferInfo OutputBuffer,
InputDescriptionsInfo InputDescriptions,
D2D1PixelOptions PixelOptions,
EquatableArray Diagnostcs);