VertexDeclaration.VertexDeclaration Constructor

Language:

Creates a new instance of the VertexDeclaration class.

Definition

Visual Basic Public Sub New( _
    ByVal lp As IDirect3DVertexDeclaration9, _
    ByVal device As Device _
)
C# public VertexDeclaration(
    IDirect3DVertexDeclaration9 lp,
    Device device
);
C++ public:
 VertexDeclaration(
    IDirect3DVertexDeclaration9 lp,
    Devicedevice
);
JScript public function VertexDeclaration(
    lp : IDirect3DVertexDeclaration9,
    device : Device
);

Parameters

lp Microsoft.DirectX.PrivateImplementationDetails.IDirect3DVertexDeclaration9
Unmanaged Component Object Model (COM) IDirect3DVertexDeclaration9 interface pointer.
device Microsoft.DirectX.Direct3D.Device
The Device object to associate with the VertexDeclaration.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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