namespace ComputeSharp.D2D1.SourceGenerators.Models; /// /// A model for extracted info on a processed HLSL shader. /// /// The HLSL source. /// The shader profile to use to compile the shader, if requested. /// The compile options to use to compile the shader. /// Whether the shader supports linking. /// Whether any errors have been detected, and therefore the shader compilation should be skipped. internal sealed record HlslShaderSourceInfo( string HlslSource, D2D1ShaderProfile? ShaderProfile, D2D1CompileOptions? CompileOptions, bool IsLinkingSupported, bool HasErrors);