Click or drag to resize

MemoryHelperToNativeArrayT(ListT) Method

Marshals a list of blittable structs to a c-style unmanaged array (void*). This should not be used on non-blittable types that require marshaling by the runtime (e.g. has MarshalAs attributes).

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public static IntPtr ToNativeArray<T>(
	List<T> managedArray
)
where T : struct, new()

Parameters

managedArray  ListT
Managed list of structs

Type Parameters

T
Struct type

Return Value

IntPtr
Pointer to unmanaged memory
See Also