Table of Contents

Class DynamicIndexBuffer

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll
public class DynamicIndexBuffer : IndexBuffer, IDisposable
Inheritance
DynamicIndexBuffer
Implements
Inherited Members

Constructors

DynamicIndexBuffer(GraphicsDevice, IndexElementSize, int, BufferUsage)

public DynamicIndexBuffer(GraphicsDevice graphicsDevice, IndexElementSize indexElementSize, int indexCount, BufferUsage usage)

Parameters

graphicsDevice GraphicsDevice
indexElementSize IndexElementSize
indexCount int
usage BufferUsage

DynamicIndexBuffer(GraphicsDevice, Type, int, BufferUsage)

public DynamicIndexBuffer(GraphicsDevice graphicsDevice, Type indexType, int indexCount, BufferUsage usage)

Parameters

graphicsDevice GraphicsDevice
indexType Type
indexCount int
usage BufferUsage

Properties

IsContentLost

public bool IsContentLost { get; }

Property Value

bool

Methods

SetData<T>(int, T[], int, int, SetDataOptions)

public void SetData<T>(int offsetInBytes, T[] data, int startIndex, int elementCount, SetDataOptions options) where T : struct

Parameters

offsetInBytes int
data T[]
startIndex int
elementCount int
options SetDataOptions

Type Parameters

T

SetData<T>(T[], int, int, SetDataOptions)

public void SetData<T>(T[] data, int startIndex, int elementCount, SetDataOptions options) where T : struct

Parameters

data T[]
startIndex int
elementCount int
options SetDataOptions

Type Parameters

T