Skip to content

RavEngine/RGL-Samples

Repository files navigation

RGL-Samples

Usage examples for RavEngine Graphics Library.

Building

  1. Clone recursive to get all submodules:
git clone https://github.com/RavEngine/RGL-Samples --depth=1 --recurse-submodules
  1. Execute one of the provided config scripts. You can run multiple scripts if you want.
cd config
./init-mac.sh& ./init-ios.sh&
  1. 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.