Microsoft DirectX 9.0 SDK Update (October 2004)

Surface.Surface Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the Surface class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal lp As IDirect3DSurface9, _
    ByVal device As Object _
)
C# public Surface(
    IDirect3DSurface9 lp,
    object device
);
Managed C++ public: Surface(
    IDirect3DSurface9 lp,
    Object *device
);
JScript .NET public function Surface(
    lp : IDirect3DSurface9,
    device : Object
);

Parameters

lp Microsoft.DirectX.PrivateImplementationDetails.IDirect3DSurface9. Unmanaged Component Object Model (COM) IDirect3DSurface9 interface pointer.
device System.Object. Object reference of the device associated with the surface.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center