Partager via


IndexBuffer Members

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

Public Constructors

Name Description
Public Method IndexBuffer Overloaded. Initializes a new instance of this class.

Public Properties

Name Description
Public Property BufferUsage Gets the state of the related BufferUsage enumeration.
Public Property GraphicsDevice (Inherited from GraphicsResource.)
Public Property IndexCount Gets the number of indices in this buffer.
Public Property IndexElementSize Gets a value indicating the size of this index element.
Public Property IsDisposed (Inherited from GraphicsResource.)
Public Property Name (Inherited from GraphicsResource.)
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 (Inherited from Object.)
Public Method GetData Overloaded. Gets the index buffer into an array.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method SetData Overloaded. Copies array data to the index buffer.
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

IndexBuffer Class
Microsoft.Xna.Framework.Graphics Namespace