Goblin - A Platform for 3D AR and VR Applications

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

Create an effect from a file

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

See Also

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