Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SetDataOptions Enumeration

Describes whether existing vertex or index buffer data will be overwritten or discarded during a SetData operation.

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

public enum SetDataOptions

 Member nameDescription
DiscardThe SetData operation will discard the entire buffer. A pointer to a new memory area is returned so that the direct memory access (DMA) and rendering from the previous area do not stall.
NonePortions of existing data in the buffer may be overwritten during this operation.
NoOverwriteThe SetData operation will not overwrite existing data in the vertex and index buffers. Specifying this option allows the driver to return immediately from a SetData operation and continue rendering.

Dynamic geometry may be rendered on the Xbox 360 by using DrawUserPrimitives.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

Show:
© 2015 Microsoft