Converts design-time vertex position and channel data into a vertex buffer format that a graphics device can recognize.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
public void CreateVertexBuffer (
out VertexBufferContent vertexBuffer,
out VertexElement[] vertexElements
)
Parameters
CreateVertexBuffer throws InvalidContentException if any vertex channels have invalid element types or names that do not correspond to the graphics VertexElementUsage enumeration.
Reference
Windows XP SP2, Windows Vista