Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 553 Bytes

File metadata and controls

29 lines (25 loc) · 553 Bytes

Available examples:

Tip

For WebAssembly builds (WebGL2/WebGPU), add --arch wasm32-unknown-emscripten flag (requires LDC2)

Note

dub by default builds & runs the application. For build-only, use dub build instead.

Available examples:

  • blend
  • bufferoffsets
  • clear
  • cube
  • debugtext
  • droptest
  • imgui
  • instancing
  • instancingcompute
  • nuklear
  • saudio
  • sglcontext
  • sglpoints
  • triangle

Build command format:

dub :[example] -c [native|vulkan|wasm|wgpu] -b [debug|release|release-nobounds|release-betterc]