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
graphicsDeviceGraphicsDeviceindexElementSizeIndexElementSizeindexCountintusageBufferUsage
DynamicIndexBuffer(GraphicsDevice, Type, int, BufferUsage)
public DynamicIndexBuffer(GraphicsDevice graphicsDevice, Type indexType, int indexCount, BufferUsage usage)
Parameters
graphicsDeviceGraphicsDeviceindexTypeTypeindexCountintusageBufferUsage
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
offsetInBytesintdataT[]startIndexintelementCountintoptionsSetDataOptions
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
dataT[]startIndexintelementCountintoptionsSetDataOptions
Type Parameters
T