{"repo":"zig-gamedev/zwindows","free":true,"listed":false,"github":"https://github.com/zig-gamedev/zwindows","clone":"git clone https://github.com/zig-gamedev/zwindows.git","description":"Windows development SDK for Zig game developers.","language":"Zig","stars":31,"topics":["bindings","gamedev","win32","zig"],"license":"MIT","category":"game-templates","readme_excerpt":"zwindows Windows development SDK for Zig game developers. - Vendored DirectX Compiler binaries for Windows and Linux - Vendored DirectX and DirectML runtime libraries - Lightweight partial bindings for: Win32 API (extends std.os.windows) Direct3D 12 Direct3D 11 DXGI DirectML Direct2D XAudio2 Wincodec (WIC) WASAPI Media Foundation DirectWrite - Optional D3D12 helper library (zd3d12) - Optional XAudio2 helper library (zxaudio2) Using the Zig package Example build.zig Bindings Usage Example zd3d12 zd3d12 is an optional helper library for Direct3d 12 build ontop of the zwindows bindings Features - Basic DirectX 12 context management (descriptor heaps, memory heaps, swapchain, CPU and GPU sync, etc.) - Basic DirectX 12 resource management (handle-based resources and pipelines) - Basic resource barriers management with simple state-tracking - Transient and persistent descriptor allocation - Fast image loading using WIC (Windows Imaging Component) - Helpers for uploading data to the GPU - Fast mipmap generator running on the GPU - Interop with Direct2D and DirectWrite for high-quality vector graphics and text rendering (optional) Example applications - https://github.com/zig-gamedev/zig-gamedev/tree/main/samples/triangle - https://github.com/zig-gamedev/zig-gamedev/tree/main/samples/textured quad - https://github.com/zig-gamedev/zig-gamedev/tree/main/samples/vector graphics test - https://github.com/zig-gamedev/zig-gamedev/blob/main/samples/rasterization - https://github.com/zig-gam","default_branch":null,"files":null,"tree":[],"storefront":"/r/zig-gamedev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zig-gamedev/zwindows/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."}