Click or drag to resize

MemoryHelperAllocateMemory Method

Allocates unmanaged memory. This memory should only be freed by this helper.

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public static IntPtr AllocateMemory(
	int sizeInBytes,
	int alignment = 16
)

Parameters

sizeInBytes  Int32
Size to allocate
alignment  Int32  (Optional)
Alignment of the memory, by default aligned along 16-byte boundary.

Return Value

IntPtr
Pointer to the allocated unmanaged memory.
See Also