https://github.com/ravengine/rgl-samples
Usage examples for RGL
https://github.com/ravengine/rgl-samples
Last synced: 3 months ago
JSON representation
Usage examples for RGL
- Host: GitHub
- URL: https://github.com/ravengine/rgl-samples
- Owner: RavEngine
- Created: 2022-12-26T01:11:27.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T01:03:35.000Z (about 1 year ago)
- Last Synced: 2025-05-15T13:12:11.022Z (12 months ago)
- Language: Mathematica
- Homepage:
- Size: 29.6 MB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RGL-Samples
Usage examples for [RavEngine Graphics Library](https://github.com/RavEngine/RGL).
### Building
1. Clone recursive to get all submodules:
```sh
git clone https://github.com/RavEngine/RGL-Samples --depth=1 --recurse-submodules
```
2. Execute one of the provided config scripts. You can run multiple scripts if you want.
```sh
cd config
./init-mac.sh& ./init-ios.sh&
```
3. Open the generated IDE project in `build/` and run the examples
### Running
- To select the underlying graphics API (all except Hello Triangle), set the `RGL_BACKEND` environment variable. Example: `RGL_BACKEND=vulkan`. Your target device must support this API.