VertexBuffer.SetData Method

Sets the vertex buffer data.

Overload List

Name Description
VertexBuffer.SetData (Int32, T[], Int32, Int32, Int32) Sets vertex buffer data, specifying the offset, start index, number of elements, and the vertex stride.
VertexBuffer.SetData (T[]) Sets vertex buffer data.
VertexBuffer.SetData (T[], Int32, Int32) Sets vertex buffer data, specifying the start index and number of elements.

See Also

Reference

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