https://github.com/fuse-open/legacy-asset-importer
Cross-platform .NET wrapper for native asset processing
https://github.com/fuse-open/legacy-asset-importer
Last synced: about 1 year ago
JSON representation
Cross-platform .NET wrapper for native asset processing
- Host: GitHub
- URL: https://github.com/fuse-open/legacy-asset-importer
- Owner: fuse-open
- License: mit
- Created: 2018-05-02T11:40:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T12:14:32.000Z (about 8 years ago)
- Last Synced: 2025-05-07T03:25:10.166Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 8.02 MB
- Stars: 3
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Uno.Native
Uno.Native is a .NET library for importing and conditioning of real-time assets such as 3D
textures and fonts. It is implemented on top of native libraries that are wrapped in a
cross-compiled C interface which is called from C# using dynamic P/Invoke.
We use this library for implementing `import` backends in the Uno compiler, and for loading raw
assets in Uno runtime code for .NET.
## Prerequisites
* CMake
* Mono/.NET
* Platform specific libraries (see below)
**Installing using APT (Linux)**
```
sudo apt-get install -y libfreetype6-dev
sudo apt-get install -y libjpeg-dev
sudo apt-get install -y libpng12-dev
```
## Building
Run `build.bat (or .sh)`. Remember to init submodules in git first.
## Debugging in Visual Studio
When the native code is built using `build.bat`, you can open `Uno.Native.sln` in Visual
Studio, enable Native Code Debugging in your startup project, and step down in to the C/C++ layer
through the C# wrapper.