Skip to content

PMarcL/zgui-SDL3-GPU-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zgui SDL3 GPU API Example

This examle uses a fork of zgui to demonstrate how to possibly integrate with the SDL3 GPU API. It depends on the latest version of SDL on github because zsdl doesn't have bindings for the new GPU API (at the moment of writing this).

This example is based on this one from imgui and this one from the zig-gamedev samples.

Finally, this was only tested on Windows, but should work on other platforms.

Building and Running

# 1. Fetch the SDL repo
git submodule init
git submodule udpate
# 2. Build the SDL3 .dll
cd SDL
mkdir build && cd build
cmake -G "MinGW Makefiles" .. && cmake --build .
cd ../..
# 3. Run the example
zig build run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages