D3DXCreateEffectPool
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXCreateEffectPool Function


Create an effect pool. A pool is used to share parameters between effects.

Syntax

HRESULT WINAPI 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


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.