Share via


BaseMesh.Declaration Property (Microsoft.DirectX.Direct3D)

Retrieves a declaration that describes the vertices in a mesh.

Definition

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[]

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 specified in the VertexElement.VertexDeclarationEnd field.

This property is read-only. 

Applies To

Mesh, ProgressiveMesh

See Also