Goblin - A Platform for 3D AR and VR Applications

ResourceCache.CreateEffectFromFile Method (Device, String, Macro[], Include, ShaderFlags, EffectPool)

Create an effect from a file

public Effect CreateEffectFromFile(
   Device device,
   string filename,
   Macro[] defines,
   Include includeFile,
   ShaderFlags flags,
   EffectPool effectPool
);

See Also

ResourceCache Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace | ResourceCache.CreateEffectFromFile Overload List