VertexDeclaration.GetVertexElements Method

Gets the vertex shader declaration.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public VertexElement[] GetVertexElements ()

Return Value

The array of vertex elements that make up the vertex shader declaration.

See Also

Reference

VertexDeclaration Class
VertexDeclaration Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP