Synced
ShaderGraphDiagnostic.Constructor
Section titled “ShaderGraphDiagnostic.Constructor”
- Identifies a graph compilation problem without retaining a node or compiler instance.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderGraphDiagnostic.ShaderGraphDiagnostic(string code, Inno.Core.Diagnostics.DiagnosticSeverity severity, string message, Inno.Core.Graphs.GraphNodeId? nodeId = null, string? portId = null)Parameters
Section titled “Parameters”Parameter code: Stable diagnostic identity.
Parameter severity: Diagnostic severity.
Parameter message: Human-readable explanation.
Parameter nodeId: Affected node identity when known.
Parameter portId: Affected semantic port when known.