MemoryHelperMarshalStructureT(IntPtr, T) 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.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic static void MarshalStructure<T>(
IntPtr ptr,
out T value
)
where T : struct, new()
Parameters
- ptr IntPtr
- Pointer to marshal
- value T
- The marshaled structure
Type Parameters
- T
- Struct type
See Also