Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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, Windows Phone 7
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.