VertexBuffer Members

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

Public Constructors

Name Description
Public Method VertexBuffer Overloaded. Initializes a new instance of the VertexBuffer class.

Public Properties

Name Description
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property Name (Inherited from GraphicsResource.)
Public Property Priority (Inherited from GraphicsResource.)
Public Property ResourceManagementMode Gets the memory management mode to use for this vertex buffer resource.
Public Property ResourceType (Inherited from GraphicsResource.)
Public Property ResourceUsage Gets a set of options identifying the behaviors of this resource.
Public Property SizeInBytes Gets the size, in bytes, of this vertex buffer.
Public Property Tag (Inherited from GraphicsResource.)

Public Methods

Name Description
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals Overloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public Method GetData Overloaded. Returns a copy of the vertex buffer data.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Overloaded. Determines whether the specified vertex buffers are equal.
Public Method Static op_Inequality Overloaded. Determines whether the specified vertex buffers are not equal.
Public Method ReferenceEquals (Inherited from Object.)
Public Method SetData Overloaded. Sets the vertex buffer data.
Public Method ToString Retrieves a string representation of this object.

Protected Methods

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

Public Events

Name Description
Public Event Disposing (Inherited from GraphicsResource.)

See Also

Reference

VertexBuffer Class
Microsoft.Xna.Framework.Graphics Namespace