VertexBufferContent Class

VertexBufferContent Class

Provides methods and properties for managing a design-time vertex buffer that holds packed vertex data.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

public class VertexBufferContent : ContentItem

This type directly corresponds to the runtime VertexBuffer class, and when a VertexBufferContent object is passed to the content compiler, the vertex data deserializes directly into a VertexBuffer at runtime. VertexBufferContent objects are not directly created by importers. The preferred method is to store vertex data in the more flexible VertexContent class.

Windows XP SP2, Windows Vista

© 2016 Microsoft