Synced
ShaderDiagnostic.Constructor
Section titled “ShaderDiagnostic.Constructor”
- Creates a shader diagnostic.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Rendering.ShaderDiagnostic.ShaderDiagnostic(string code, InnoEngine.Diagnostics.DiagnosticSeverity severity, string message, InnoEngine.Rendering.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.