?/TD>
Microsoft DirectX 9.0

D3DXCreateEffectPool Function


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

Headerd3dx9effect.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.