Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

ibilon/hxwgpu-samples

Repository files navigation

hxwgpu-samples

Build Status

Samples for the hxwgpu library.

Building

Make sure to clone this repository with --recursive, or download the submodule with git submodule update --init --recursive.

Requirements:

To build:

  • Compile the cppia host with haxe cppia_host.hxml, this only need to be rebuilt if hxwgpu or hxglfw are updated or changed
  • Compile the samples with haxe build_all.hxml

To run the samples:

  • hello_triangle: ./build/cppia_host/CppiaHost-debug build/hello_triangle.cppia

License

The samples are adapted from the rust versions in wgpu-rs and are licensed under the MPL-2.0 license.