Class ShaderCompileException¶
Namespace: Apogee.Graphics.Shaders
Assembly: Apogee.Graphics.dll
A shader did not compile;
public sealed class ShaderCompileException : Exception, ISerializable
Inheritance¶
object ← Exception ← ShaderCompileException
Implements¶
Inherited Members¶
Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ShaderCompileException(string, string)¶
public ShaderCompileException(string moduleName, string diagnostics)
Parameters¶
moduleName string
diagnostics string
Properties¶
Diagnostics¶
public string Diagnostics { get; }
Property Value¶
ModuleName¶
public string ModuleName { get; }
Property Value¶
Methods¶
Unavailable(string, string)¶
A shader that cannot be used for a reason that is not a compile error (no compiler, a bundle of another ABI).
public static ShaderCompileException Unavailable(string moduleName, string message)
Parameters¶
moduleName string
message string