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→ShaderCompileException
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.ShaderCompileException : System.Exception

Properties2

Showing 2 properties

public System.Collections.Generic.IReadOnlyList`1<string> Sandbox.ShaderCompileException.Errors { get; set; }PUBLICGETSET

What the compiler said, with file and line

Returns:IReadOnlyList<string>—

public string Sandbox.ShaderCompileException.Path { get; set; }PUBLICGETSET

The shader that didn't compile

Returns:string—

On this page