Share via


EffectPool.EffectPool() Constructor (Microsoft.DirectX.Direct3D)

Creates a new instance of an EffectPool object.

Definition

Visual Basic Public Sub New()
C# public EffectPool();
C++ public:
 EffectPool();
JScript public function EffectPool();

Remarks

A pool is used to share parameters between effects. For effects within a pool, shared parameters with the same name share values.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.