Synced
ShaderDiagnostic.Constructor
Section titled “ShaderDiagnostic.Constructor”
- Creates a shader diagnostic.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public Inno.Rendering.Assets.ShaderDiagnostic.ShaderDiagnostic(string code, Inno.Core.Diagnostics.DiagnosticSeverity severity, string message, Inno.Rendering.Assets.ShaderSourceLocation? location = null)Parameters
Section titled “Parameters”Parameter code: Stable diagnostic code.
Parameter severity: Diagnostic severity.
Parameter message: Artist-facing message.
Parameter location: Optional source mapping.