#region License /* FNA - XNA4 Reimplementation for Desktop Platforms * Copyright 2009-2016 Ethan Lee and the MonoGame Team * * Released under the Microsoft Public License. * See LICENSE for details. */ #endregion namespace Microsoft.Xna.Framework.Graphics { /// /// Defines how vertex or index buffer data will be flushed during a SetData operation. /// public enum SetDataOptions { /// /// The SetData can overwrite the portions of existing data. /// None = 0, /// /// The SetData will discard the entire buffer. A pointer to a new memory area is returned and rendering from the previous area do not stall. /// Discard = 1, /// /// The SetData operation will not overwrite existing data. This allows the driver to return immediately from a SetData operation and continue rendering. /// NoOverwrite = 2 } }