Share via


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

Creates a new instance of an EffectPool object.

Definition

Visual Basic Public Sub New( _
    ByVal unmanagedObject As IntPtrLeave Site _
)
C# public EffectPool(
    IntPtrLeave Site unmanagedObject
);
C++ public:
 EffectPool(
    IntPtrLeave Site unmanagedObject
);
JScript public function EffectPool(
    unmanagedObject : IntPtrLeave Site
);

Parameters

unmanagedObject System.IntPtr
Pointer to an unmanaged Component Object Model (COM) ID3DXEffectPool interface. This parameter is useful for working with unmanaged applications from managed code. Not supported.

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.