Click or drag to resize

MemoryHelperMarshalStructureT(IntPtr) Method

Convienence method for marshaling a pointer to a structure. Only use if the type is not blittable, otherwise use the read methods for blittable types.

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

Parameters

ptr  IntPtr
Pointer to marshal

Type Parameters

T
Struct type

Return Value

T
The marshaled structure
See Also