?/TD> |
Microsoft DirectX 9.0 |
Create an effect pool. A pool is used to share parameters between effects.
Syntax
HRESULT D3DXCreateEffectPool(
LPD3DXEFFECTPOOL* ppPool );
Parameters
- ppPool
- [out] Returns a pointer to the created pool.
Return Value
If the method succeeds, the return value is S_OK.
If the arguments are invalid, the method will return D3DERR_INVALIDCALL.
If the method fails, the return value will be E_FAIL.
Remarks
For effects within a pool, shared parameters with the same name share values.
Function Information
Header d3dx9effect.h Import library d3dx9.lib Minimum operating systems Windows 98