487577a11b
This commit substantially reworks the `pathfinder_gpu` API to better support modern APIs like Metal. It should open the door to `gfx-rs`, `wgpu`, Vulkan, and D3D12 backends relatively straightforwardly. A new example, `canvas_metal_minimal`, has been added. Note that the new Metal shaders require a patched version of `spirv-cross` to build properly. An upstream patch is forthcoming. |
||
---|---|---|
.. | ||
.cargo | ||
lre | ||
src | ||
.gitignore | ||
Cargo.toml | ||
Makefile | ||
PathfinderDemo.mabu | ||
PathfinderDemo.package | ||
PathfinderImmersiveDemo.mabu | ||
PathfinderLandscapeDemo.mabu | ||
README.md | ||
fake-ld.sh | ||
manifest.xml |
README.md
Magic Leap demo
First, install v0.20.0 or later of the Magic Leap SDK. By default this is installed in MagicLeap/mlsdk/<version>
, for example:
export MAGICLEAP_SDK=~/MagicLeap/mlsdk/v0.20.0
You will also need a signing certificate.
export MLCERT=~/MagicLeap/cert/mycert.cert
Now build the pathfinder demo library and .mpk
archive:
cd demo/pathfinder
make release
The .mpk
can be installed:
make install
and run:
make run