API ReferenceSandbox
ShaderCompileExceptionclass
Thrown by `Sandbox.Shader.CompileAsync(System.String,System.String,System.Threading.CancellationToken)` and `Sandbox.Shader.CompileFileAsync(System.String,System.Threading.CancellationToken)` when a shader doesn't compile
object→
Exception→ShaderCompileExceptionProperties2
Showing 2 properties
public System.Collections.Generic.IReadOnlyList`1<string> Sandbox.ShaderCompileException.Errors { get; set; }
What the compiler said, with file and line
Returns:
IReadOnlyList<string>—public string Sandbox.ShaderCompileException.Path { get; set; }
The shader that didn't compile
Returns:
string—No results match this filter.