D3DXCreateEffectPool function
Create an effect pool. A pool is used to share parameters between effects.
Syntax
HRESULT D3DXCreateEffectPool(
_Out_ LPD3DXEFFECTPOOL *ppPool
);
Parameters
-
ppPool [out]
-
Type: LPD3DXEFFECTPOOL*
Returns a pointer to the created pool.
Return value
Type: HRESULT
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.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also