Table of Contents

Enum EffectContainer

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

Which effect container ShadowDusk serializes the compiled effect into.

Mgfx (the default) is the MGFX container, the universally loadable format every MonoGame and KNI runtime accepts (version controlled by MgfxVersion, default v10). This is the seamless product default and is never something a consumer must change to get correct output.

Knifx emits KNI's newer KNIFX v11 container (additive, opt-in) so consumers on KNI v4.02+ can use the newer container's features. It is an escape hatch / additive target, not a replacement for the v10 default. Ignored for Fna, whose output is always the D3D9 fx_2_0 container.

public enum EffectContainer

Fields

Knifx = 1

KNI's KNIFX v11 container (additive; KNI v4.02+).

Mgfx = 0

The MGFX container (default; loads on every MonoGame/KNI runtime).