Microsoft DirectX 9.0 SDK Update (October 2004)

SimplificationMesh.Declaration Property

Language:

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

Retrieves a declaration that describes the vertices in a mesh.

Definition

Visual Basic .NET Public ReadOnly Property Declaration As VertexElement()
C# public VertexElement[] Declaration { get; }
Managed C++ public: __property VertexElement get_Declaration();
JScript .NET public function get Declaration() : VertexElement[]

Property Value

Microsoft.DirectX.Direct3D.VertexElement[] . Array of VertexElement structures that describe the vertex format of the mesh vertices. The vertex element array ends with the value found in the VertexDeclarationEnd field.

This property is read-only. 

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 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