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 device As Device, _
    ByVal vertexElements As GraphicsStream _
)
C# public VertexDeclaration(
    Device device,
    GraphicsStream vertexElements
);
Managed C++ public: VertexDeclaration(
    Device *device,
    GraphicsStream *vertexElements
);
JScript .NET public function VertexDeclaration(
    device : Device,
    vertexElements : GraphicsStream
);

Parameters

device Microsoft.DirectX.Direct3D.Device. The Device object to associate with the VertexDeclaration.
vertexElements Microsoft.DirectX.GraphicsStream. A GraphicsStream object containing VertexElement flags that make up a vertex shader declaration.

© 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