Field Name
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Name
The native library name passed to System.Runtime.InteropServices.LibraryImportAttribute.
public const string Name = "box3d"Field Value
Remarks
The runtime expands this to box3d.dll on Windows, libbox3d.so
on Linux and Android, and libbox3d.dylib on macOS, and resolves it
from the runtimes/<rid>/native folder of the package.
On iOS the value is __Internal instead, which names the running
executable rather than a file to load. Apple requires every dynamic
library inside an application to be a signed framework in the bundle, so
the package ships a static archive that the iOS build links into the
application: by the time a P/Invoke runs, the Box3D symbols are already
part of the main image and there is nothing left to load.