Version: 2019.2

UnsafeUtility.MemCpyReplicate(void*,void*,ulong,int)

Switch to Manual

Parameters

destinationDestination memory pointer.
sourceSource memory pointer.
sizeSize.
countCount.

Description

Copy memory and replicate.

Copies count times the same size bytes from source sequentially into destination.