SoCpuBufferBitSetMemset Method (IntPtr, UInt64, UInt64, UInt64) |
This function sets the contents of (or a portion of) this buffer object to the specified value.
Namespace: OIV.LDM.Tiles
public override void Memset( IntPtr value, ulong valueSize, ulong offset, ulong count )
is a pointer to the value to set in the buffer.
The size in bytes of the value. Default is 1 byte.
Index of first value to be changed. Default is 0.
The number of values to change. Default is number of values in buffer.
Sets 0 if value = 0, 1 if value != 0.
The valueSize parameter provides a way to do a memset with float, short, byte, etc values. The first value changed in this buffer is given by the offset argument. The number of values to change.