CopyPtrToStructure<T>(void*, out T)
Copies sizeof(T) bytes from a memory pointer to a struct.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
CopyPtrToStructure<T>(void*, T)
public static void CopyPtrToStructure<T>(void* ptr, out T output) where T : struct