Enum ShaderFormat
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
The source language ShaderFormatDetector recognized a shader as.
public enum ShaderFormat
Fields
FxEffect = 1An HLSL effect (
.fx): source with atechniqueblock.Glsl = 3A fragment shader in GLSL: a ShaderToy-style
mainImageentry, or a plain-GLSL parameterlessvoid main(). Converted by the separateShadowDusk.ShaderToypackage.Slang = 2HLSL-compatible Slang: source with a
[shader("...")]entry attribute, or a Slang-onlyimport/moduledeclaration. A file that is valid as both Slang and an.fxeffect (it has atechniqueblock) is reported as FxEffect.Unknown = 0Not a shader language ShadowDusk reads, or ambiguous (see IsAmbiguous).