Share via


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

Initializes a new instance of the Effect class.

Definition

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

Parameters

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