Synced
ShaderSourceAnalysis.Constructor
Section titled “ShaderSourceAnalysis.Constructor”
- Captures a completed analysis without retaining compiler objects.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderSourceAnalysis.ShaderSourceAnalysis(Inno.Rendering.Shaders.ShaderSourceFunction? function, System.Collections.Generic.IEnumerable<string> dependencies, System.Collections.Generic.IEnumerable<Inno.Rendering.Shaders.ShaderSourceDiagnostic> diagnostics)Parameters
Section titled “Parameters”Parameter function: Parsed interface, or null when parsing failed.
Parameter dependencies: Resolved included sources, excluding the root.
Parameter diagnostics: All problems discovered by the frontend.