Table of Contents

Enum ShaderErrorKind

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

Categorizes the kind of failure a ShaderError represents.

public enum ShaderErrorKind

Fields

AmbiguousInput = 4

The 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 = 2

An #include cycle was detected.

Compile = 0

A general HLSL compilation or transpilation error.

IncludeNotFound = 1

An #include file could not be found on any search path.

UnsupportedInput = 3

The 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.