Class Buffer
- Namespace
- Lime
- Assembly
- Lime.dll
public class Buffer : IDisposable
- Inheritance
-
Buffer
- Implements
- Inherited Members
Constructors
Buffer(BufferType, int, bool)
public Buffer(BufferType type, int size, bool dynamic)
Parameters
type
BufferTypesize
intdynamic
bool
Properties
Dynamic
public bool Dynamic { get; }
Property Value
IsDisposed
public bool IsDisposed { get; }
Property Value
Size
public int Size { get; }
Property Value
Type
public BufferType Type { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
~Buffer()
protected ~Buffer()
SetData(int, nint, int, BufferSetDataMode)
public void SetData(int offset, nint data, int size, BufferSetDataMode mode)
Parameters
offset
intdata
nintsize
intmode
BufferSetDataMode
SetData<T>(int, T[], int, int, BufferSetDataMode)
public void SetData<T>(int offset, T[] data, int startIndex, int count, BufferSetDataMode mode) where T : unmanaged
Parameters
offset
intdata
T[]startIndex
intcount
intmode
BufferSetDataMode
Type Parameters
T