Class DynamicIndexBuffer
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
GraphicsDeviceindexElementSize
IndexElementSizeindexCount
intusage
BufferUsage
DynamicIndexBuffer(GraphicsDevice, Type, int, BufferUsage)
public DynamicIndexBuffer(GraphicsDevice graphicsDevice, Type indexType, int indexCount, BufferUsage usage)
Parameters
graphicsDevice
GraphicsDeviceindexType
TypeindexCount
intusage
BufferUsage
Properties
IsContentLost
public bool IsContentLost { get; }
Property Value
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
intdata
T[]startIndex
intelementCount
intoptions
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
intelementCount
intoptions
SetDataOptions
Type Parameters
T