Share via


Surface.Surface(IDirect3DSurface9) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the Surface class.

Definition

Visual Basic Public Sub New( _
    ByVal pInterop As IDirect3DSurface9 _
)
C# public Surface(
    IDirect3DSurface9 pInterop
);
C++ public:
 Surface(
    IDirect3DSurface9 pInterop
);
JScript public function Surface(
    pInterop : IDirect3DSurface9
);

Parameters

pInterop Microsoft.DirectX.PrivateImplementationDetails.IDirect3DSurface9
Unmanaged Component Object Model (COM) IDirect3DSurface9 interface pointer.