{"repo":"cyberegoorg/zbgfx","free":true,"listed":false,"github":"https://github.com/cyberegoorg/zbgfx","clone":"git clone https://github.com/cyberegoorg/zbgfx.git","description":"When zig meets bgfx. THIS IS ONLY MIRROR OF https://codeberg.org/cyberegoorg/zbgfx","language":"C","stars":37,"topics":["bgfx","bgfx-graphics-library","zig","zig-package","gamedev"],"license":"WTFPL","category":"game-templates","readme_excerpt":"ZBgfx When zig meets bgfx. Features - [x] Zig api. - [x] Compile as standard zig library. - [x] shaderc as build artifact. - [x] Shader compile from runtime via shaderc as child process. - [x] Shader compile in build.zig and embed as zig module. - [x] Binding for DebugDraw API - [x] imgui render backend. Use build option imgui include to enable. ex. for zgui: .imgui include = zgui.path(\"libs\").getPath(b), - [ ] Zig based allocator. [!IMPORTANT] - This is only zig binding. For BGFX stuff goto bgfx. - Github repository is only mirror. Development continues here [!WARNING] - shaderc need some time to compile. License Folders libs , shaders is copy&paste from bgfx for more sell-contained experience and is licensed by LICENSEE Zig binding is licensed by WTFPL Zig version Minimal is 0.16.0 . But you know try your version and believe. Bgfx version - BX - BImg - BGFX Useful tools - bgfx shader analyzer - LSP for bgfx shaders. Getting started Copy zbgfx to a subdirectory of your project and then add the following to your build.zig.zon .dependencies: or use zig fetch --save ... way. Then in your build.zig add: Usage See examples for binding usage and bgfx for bgfx stuff. Build options Build option Default Description ----------------- --------- ------------------------------------------------------ shared false Build as shared library. imgui include null Path to ImGui includes (need for imgui bgfx backend) multithread true Compile with BGFX CONFIG MULTITHREADED with shaderc true Compil","default_branch":null,"files":null,"tree":[],"storefront":"/r/cyberegoorg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cyberegoorg/zbgfx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}