Version: 2019.2
public static void CopyStructureToPtr (ref T input, void* ptr);

Parameters

ptrMemory pointer.
inputStruct.

Description

Copies sizeof(T) bytes from input to ptr.