?/TD>
Microsoft DirectX 9.0

Cloning and Sharing


Cloning Parameters

Cloning has the following restrictions.

Sharing Parameters

A pool is a buffer that shares effect parameters between different effects. To add parameters to a pool, specify a shared usage when the effect is created.

A pool has the following restrictions.

NULL can be used to specify no pool, in which case no parameters are shared. This is almost equivalent to specifying a unique pool just for this effect. The single difference is that when the effect is cloned, the clone will not share its shared parameters with the original.



© 2002 Microsoft Corporation. All rights reserved.