Click or drag to resize
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
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public override void Memset(
	IntPtr value,
	ulong valueSize,
	ulong offset,
	ulong count
)

Parameters

value
Type: SystemIntPtr

is a pointer to the value to set in the buffer.

valueSize
Type: SystemUInt64

The size in bytes of the value. Default is 1 byte.

offset
Type: SystemUInt64

Index of first value to be changed. Default is 0.

count
Type: SystemUInt64

The number of values to change. Default is number of values in buffer.

Remarks

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.

See Also