SetDataOptionsΒΆ

enum SetDataOptions : System.Enum, System.IComparable, System.IFormattable, System.IConvertible

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

SetDataOptions None

The SetData can overwrite the portions of existing data.

SetDataOptions Discard

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.

SetDataOptions NoOverwrite

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