DynamicIndexBuffer Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Describes the rendering order of the vertices in a vertex buffer. Use DynamicIndexBuffer for storing indices for dynamic vertices and IndexBuffer for indices of non-dynamic arrays.
Inheritance Hierarchy
System.Object
Microsoft.Xna.Framework.Graphics.GraphicsResource
Microsoft.Xna.Framework.Graphics.IndexBuffer
Microsoft.Xna.Framework.Graphics.DynamicIndexBuffer
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)
Syntax
'Declaration
Public Class DynamicIndexBuffer _
Inherits IndexBuffer
public class DynamicIndexBuffer : IndexBuffer
The DynamicIndexBuffer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DynamicIndexBuffer(GraphicsDevice, IndexElementSize, Int32, BufferUsage) | Initializes a new instance of the DynamicIndexBuffer class. | |
DynamicIndexBuffer(GraphicsDevice, Type, Int32, BufferUsage) | Initializes a new instance of the DynamicIndexBuffer class. |
Top
Properties
Name | Description | |
---|---|---|
BufferUsage | Gets the state of the related BufferUsage enumeration. (Inherited from IndexBuffer.) | |
IndexCount | Gets the number of indices in this buffer. (Inherited from IndexBuffer.) | |
IndexElementSize | Gets a value indicating the size of this index element. (Inherited from IndexBuffer.) | |
IsDisposed | Gets a value that indicates whether the object is disposed. (Inherited from GraphicsResource.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.) | |
Dispose(Boolean) | Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.) | |
Finalize | Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Inherited from GraphicsResource.) | |
SetData<T>(array<T[]) | Sets index buffer data. (Inherited from IndexBuffer.) | |
SetData<T>(array<T[], Int32, Int32) | Sets index buffer data, specifying the start index and number of elements. (Inherited from IndexBuffer.) | |
SetData<T>(array<T[], Int32, Int32, SetDataOptions) | Sets dynamic index buffer data, specifying the start index, number of elements and options. | |
SetData<T>(Int32, array<T[], Int32, Int32) | Sets index buffer data, specifying the offset, start index and number of elements. (Inherited from IndexBuffer.) | |
SetData<T>(Int32, array<T[], Int32, Int32, SetDataOptions) | Sets dynamic index buffer data, specifying the offset, start index, number of elements and options. |
Top
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.