Table of Contents

Enum SetDataOptions

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Defines how vertex or index buffer data will be flushed during a SetData operation.

public enum SetDataOptions

Fields

Discard = 1

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.

NoOverwrite = 2

The SetData operation will not overwrite existing data. This allows the driver to return immediately from a SetData operation and continue rendering.

None = 0

The SetData can overwrite the portions of existing data.