RepositoryC++
zig-gamedev

zig-gamedev/zgpu

Cross-platform graphics lib for Zig built on top of Dawn native WebGPU implementation.

106sao
35fork
11issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: dawn

#1 Repository của tháng

2
TINIX TRENDING·Chủ đề: zig

#2 Repository của tháng

3
TINIX TRENDING·Chủ đề: native

#3 Repository của tháng

🚀 zgpu: Thư viện đồ hoạ WebGPU cho Zig

Thư viện đồ hoạ cross-platform cho Zig, dựa trên cài đặt Dawn native WebGPU.

zgpu là thư viện đồ hoạ dành cho ngôn ngữ lập trình Zig, được xây dựng dựa trên Dawn - cài đặt native của WebGPU. Dự án hỗ trợ Windows 10+ (DirectX 12), macOS 12+ (Metal) và Linux (Vulkan), phục vụ cho phát triển game và đồ hoạ tính toán.

✨ Điểm nổi bật

  • Bindings API không tích tích overhead: Cung cấp bindings trực tiếp cho API wgpu với chi phí thời gian biên dịch tối thiểu.
  • Uniform buffer pool: Tối ưu hoá truyền dữ liệu từ CPU sang GPU với chỉ một thao tác sao chép mỗi khung hình.
  • Quản lý tài nguyên qua handle: Sử dụng pool và handle 32-bit để quản lý các tài nguyên GPU một cách hiệu quả.
  • Biên dịch shader bất đồng bộ: Hỗ trợ biên dịch shader mà không chặn luồng chính.
  • GPU mipmap generator: Công cụ sinh mipmap trên GPU tích hợp sẵn.

💡 Vì sao đáng chú ý

zgpu khác biệt vì sự tích hợp sâu với Dawn, mang lại hiệu năng gần như nguyên gốc khi sử dụng WebGPU trên các nền tảng khác nhau. Thiết kế dựa trên compile-time options linh hoạt giúp người dùng tùy chỉnh kích thước pool và cấu hình chi tiết, phù hợp cho cả dự án nhỏ và hệ thống đồ hoạ phức tạp.


#WebGPU #Zig #GameDev #Graphics #CrossPlatform #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
ocornut/imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

77.3k
Dec 1, 2026
RepositoryC++
react/react-native

A framework for building native applications using React

127.0k
Nov 27, 2026
RepositoryC++
hoffstadt/DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies

15.7k
Nov 14, 2026
RepositoryC++
google/dawn

Native WebGPU implementation. Mirror of https://dawn.googlesource.com/dawn. File bugs here: https://crbug.com/dawn/new

1.2k
Nov 30, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryRust
kitao/pyxel

A retro game engine for Python

18.7k
Nov 28, 2026
RepositoryC#
MonoGame/MonoGame

One framework for creating powerful cross-platform games.

14.7k
Nov 30, 2026
RepositoryC#
dotnet/Silk.NET

The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.

5.3k
Dec 1, 2026
RepositoryC#
dotnet/Silk.NET

The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.

5.3k
Dec 1, 2026