MemoryHelperAllocateMemory Method |
Allocates unmanaged memory. This memory should only be freed by this helper.
Namespace: Internal.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic 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
IntPtrPointer to the allocated unmanaged memory.
See Also