Click or drag to resize
SoCpuBufferUniformMemset Method (IntPtr, UInt64, UInt64, UInt64)

This function sets the contents of (or a portion of) the buffer object to the specified value.

Namespace: OIV.LDM.Tiles
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public override void Memset(
	IntPtr data,
	ulong dataSize,
	ulong offset,
	ulong count
)

Parameters

data
Type: SystemIntPtr

A pointer to the value to set in the buffer.

dataSize
Type: SystemUInt64

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

offset
Type: SystemUInt64

The offset in bytes (where to start setting values). Default is 0.

count
Type: SystemUInt64

The number of values to set. Default is number of bytes in buffer.

Remarks

The dataSize parameter provides a way to do a memset with float, short, byte, etc values.

See Also