Enum ShaderErrorKind
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
Categorizes the kind of failure a ShaderError represents.
public enum ShaderErrorKind
Fields
AmbiguousInput = 4The input carries the signals of two formats that cannot both be right (code
SD0005), so no route was picked. This is a real error, not a reason to try another loader: pass a name hint with the intended extension, or call the format-specific entry point.CircularInclude = 2An
#includecycle was detected.Compile = 0A general HLSL compilation or transpilation error.
IncludeNotFound = 1An
#includefile could not be found on any search path.UnsupportedInput = 3The input is not a shader format the called entry point reads (code
SD0650). Nothing was compiled. A caller that chains several shader loaders can safely hand the input to the next one; every other kind is a real error in a recognized shader.