Table of Contents

Enum ShaderFeatures

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

GL shader capabilities that ShadowDusk's MojoShader-dialect down-convert rejects today (every shipping MonoGame/KNI GL runtime is MojoShader-capped at SM2-3). A CapabilityProfile declares which it permits via AllowedFeatures, but a feature is only honored once a runtime is render-proven to consume it: ShaderFeatureSupport rejects any feature no shipping runtime supports, so ShadowDusk never emits bytes no runtime can load. As of 2026-06 NONE of these are runtime-supported (KNI's GL backend is still MojoShader), so every proven profile declares None.

[Flags]
public enum ShaderFeatures

Fields

FullPrecisionGLES = 4

Full fragment precision on GL ES (no MojoShader precision reduction). Reserved for a future runtime.

None = 0

No extra features: every MojoShader-dialect rejection stays enforced (today's behavior).

TextureArrays = 2

Texture arrays (Texture2DArray and friends). No shipping GL runtime consumes it yet.

VertexTextureFetch = 1

Vertex texture fetch (sampling in the vertex stage). No shipping GL runtime consumes it yet.