This project has moved and is read-only. For the latest updates, please go here.
Creates an effect from a complied shader blob on disk.

HRESULT WINAPI D3DX11CreateEffectFromFile(
   _In_z_ LPCWSTR pFileName,
   _In_ UINT FXFlags,
   _In_ ID3D11Device *pDevice,
   _Outptr_ ID3DX11Effect **ppEffect );


pFileName: Pointer to filename of compiled shader blob (should have been compiled using the fx_5_0 profile).

FXFlags: Same as D3DCompile Flags2. See D3DCOMPILE_EFFECT constants.

pDevice: Direct3D device for creating rendering resources and modifying state

ppEffect: Pointer to the newly created effect instance.


This is the 'disk file' version of the original D3DX11CreateEffectFromMemory

Last edited Jul 16, 2013 at 1:34 AM by walbourn, version 3