add example for sdlgpu3 support

This commit is contained in:
Grant Horner
2025-03-20 17:54:50 -04:00
parent c32d1c0c9b
commit 38c093b44e
4 changed files with 255 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# SDLGPU3
This example is a little different from the others, because `cimgui` doesn't come with bindings for the SDLGPU3 backend out of the box. Instead, this example shows how to generate the necessary bindings during cmake's configure time, then add the compiled library as a target for your application to link to.
## Building
```sh
cmake -B build . && cmake --build build
```