Share via


BufferUsage Enumeration

Specifies special usage of the buffer contents.

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

Syntax

[FlagsAttribute]
public enum BufferUsage

Members

  Member name Description
None None
Points Indicates that the vertex or index buffer will be used for drawing point sprites. The buffer is loaded in system memory if software vertex processing is needed to emulate point sprites.
WriteOnly Indicates that the application only writes to the vertex buffer. If specified, the driver chooses the best memory location for efficient writing and rendering. Attempts to read from a write-only vertex buffer fail.

See Also

Reference

Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista