PatchMesh.Declaration Property |
Language: |
Retrieves the vertex declaration.
Visual Basic Public ReadOnly Property Declaration As VertexElement() C# public VertexElement[] Declaration { get; } C++ public:
property array<VertexElement>^ Declaration {
array<VertexElement>^ get();
}JScript public function get Declaration() : VertexElement[]
Microsoft.DirectX.Direct3D.VertexElement[]
This property is read-only.
Array of VertexElement elements that describe the vertex format of the mesh vertices. The vertex element array ends with the value found in the VertexDeclarationEnd field.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. OutOfMemoryException Microsoft Direct3D could not allocate sufficient memory to complete the call.
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