CopyStructureToPtr<T>(ref T, void*)
Copies sizeof(T) bytes from a memory pointer to a struct.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
CopyStructureToPtr<T>(T, void*)
public static void CopyStructureToPtr<T>(ref T input, void* ptr) where T : struct