GraphicsDevice.SetVertexBuffers Method

Sets the vertex buffers.

Syntax

'Declaration
Public Sub SetVertexBuffers ( _
         vertexBuffers As VertexBufferBinding() _
)
public void SetVertexBuffers (
         params VertexBufferBinding[] vertexBuffers
)
public:
void SetVertexBuffers(
         params VertexBufferBinding vertexBuffers[]
)

Parameters

Exceptions

Exception type Condition
NotSupportedException The profile does not support the vertex texture format.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone