Window manager for C3
Basic window manager, currently meant to be used with vulkan.
Currently supports
- Windows (win32) (todo)
- MacOS (cocoa)
- Linux (X11, Wayland)
Add window.c3l
file to your C3 project dependencies folder, and then link it in project.json
with "dependencies": ["c3w"]
Running example:
Install C3, VulkanSDK
Then run example with c3c run cube
Install VulkanSDK and add vulkan lib file path as rpath
to the run command.
Its the folder with vulkan.1.dylib
file
c3c run cube -z -rpath -z /Users/my_user/VulkanSDK/macOS/lib
Install VulkanSDK
Choosing wayland or X11 can be done with feature tag inside C3 project.json
"features": ["WAYLAND"]
"features": ["X11"]