SDLRenderer3 example working

This commit is contained in:
jammy3855
2026-02-19 21:44:03 -06:00
parent 77f726c6ca
commit ee8fbaaff4
3 changed files with 43 additions and 87 deletions

View File

@@ -1,2 +1,16 @@
# 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.
For the generation phase from cmake you need LuaJIT to be present.
## Building
From the build directory of your choice:
`cmake path_to_example_sdlgpu3`
and after
`make`
To build use `cmake path_to_example_sdl3_vulkan` and then `make install`