VertexBuffer Members

The following tables list the members exposed by the VertexBuffer type.

Public Constructors

Name Description
Public Method VertexBuffer Overloaded. Creates an instance of this object.

Public Properties

Name Description
Public Property BufferUsage Gets the state of the related BufferUsage enumeration.
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property Name (Inherited from GraphicsResource.)
Public Property Tag (Inherited from GraphicsResource.)
Public Property VertexCount Gets the number of vertices.
Public Property VertexDeclaration Defines per-vertex data in a buffer.

Public Methods

Name Description
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals (Inherited from Object.)
Public Method GetData Overloaded. Returns a copy of the vertex buffer data.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method SetData Overloaded. Sets the vertex buffer data.
Public Method ToString (Inherited from GraphicsResource.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from GraphicsResource.)
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event Disposing (Inherited from GraphicsResource.)

See Also

Reference

VertexBuffer Class
Microsoft.Xna.Framework.Graphics Namespace