Microsoft DirectX 9.0 SDK Update (October 2004)

VertexDeclaration.VertexDeclaration Constructor

Language:

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

Creates a new instance of the VertexDeclaration class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal lp As IDirect3DVertexDeclaration9, _
    ByVal device As Device _
)
C# public VertexDeclaration(
    IDirect3DVertexDeclaration9 lp,
    Device device
);
Managed C++ public: VertexDeclaration(
    IDirect3DVertexDeclaration9 lp,
    Device *device
);
JScript .NET 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.

© 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