Share via


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

Initializes a new instance of the Resource class.

Definition

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

Parameters

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