GraphicsDevice.SetVertexBuffer Method (VertexBuffer)

Sets or binds a vertex buffer to the device.

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

public void SetVertexBuffer (
         VertexBuffer vertexBuffer
)

Parameters

vertexBuffer
Type: VertexBuffer
A vertex buffer.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: