Microsoft DirectX 8.1 (C++) |
Returns a compiled binary representation of an effect.
HRESULT GetCompiledEffect( LPD3DXBUFFER* ppCompiledEffec );
If the method succeeds, the return value is S_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
The returned effect can be used on subseqent calls to D3DXCreateEffect, so that the effect can be created without having Direct3D go through the process of reparsing the ASCII effect description.
Header: Declared in D3dx8effect.h.
Import Library: Use D3dx8.lib.