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.TilesAssembly: 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
)
Public Overrides Sub Memset (
data As IntPtr,
dataSize As ULong,
offset As ULong,
count As ULong
)
public:
virtual void Memset(
IntPtr data,
unsigned long long dataSize,
unsigned long long offset,
unsigned long long count
) override
abstract Memset :
data : IntPtr *
dataSize : uint64 *
offset : uint64 *
count : uint64 -> unit
override Memset :
data : IntPtr *
dataSize : uint64 *
offset : uint64 *
count : uint64 -> unit
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