awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
software-mansion avatar

software-mansion/TypeGPU

0
View on GitHub↗
2,564 stars·71 forks·TypeScript·MIT·4 vuestypegpu.com↗

TypeGPU

TypeGPU is a tool for type-safe WebGPU development that enables writing shaders in TypeScript. It translates high-level TypeScript function definitions and structures into WebGPU Shading Language source code to automate shader generation and validate logic using a type system.

The project provides a mechanism for cross-library GPU interoperability by sharing typed buffers without copying data to system memory. It also integrates the Model Context Protocol to allow AI agents to inspect generated shader code and diagnose runtime errors.

The system manages WebGPU resource mapping through typed layouts for bind groups and uses schema-based binary encoding to handle memory alignment and buffer sizes. It further supports the definition of GPU data types to ensure consistent data transfer between the processor and the graphics unit.

Features

  • Type-Safe Shader Generation - Translates high-level TypeScript function definitions into WebGPU Shading Language source code to automate shader generation.
  • TypeScript-to-WGSL Compilers - Translates high-level TypeScript function definitions into WebGPU Shading Language source code.
  • GPU Memory Alignment Encoders - Translates complex data structures into typed binary formats to ensure correct memory alignment during CPU-to-GPU transfer.
  • GPU Buffer Allocators - Enforces typed read/write operations by calculating memory sizes and binary padding for GPU buffers.
  • User-Defined Types - Defines custom GPU data structures and arrays to ensure data matches the expected schema.
  • Schema-Based Binary Formats - Converts complex data structures into typed binary formats using defined layouts to ensure correct GPU memory alignment.
  • Zero-Copy GPU Buffer Interop - Shares typed GPU buffers between libraries without copying data to system memory for high performance.
  • Native Type Mappings - Links raw hardware resources to typed interfaces to retrieve and manage underlying native handles.
  • GPU Bind Group Mappings - Provides automatic mapping of resource keys to GPU binding indices and validates resource types during pipeline setup.
  • GPU Resource Management - Manages the mapping of buffers and bind groups between TypeScript and the GPU to ensure data alignment and consistency.
  • Function-to-Shader Transpilers - Translates typed TypeScript functions into valid WGSL strings to execute logic on the GPU.
  • Type-Safe Shader Generation - Transforms typed functions into shader code to validate logic using a high-level type system.
  • Shader Resource Binders - Produces shader code from typed structures to keep resource definitions consistent via defined layouts.
  • Typed Bind Group Management - Maps hardware resources to named keys to handle binding indices and validate resource types automatically.
  • GPU Buffer Sharing Allocations - Passes typed GPU buffers between libraries without copying data to system memory for interoperability.
  • GPU Memory Layout Definitions - Calculates buffer sizes and applies binary padding based on TypeScript definitions to meet strict GPU memory requirements.
  • Resource Handle Mapping - Links native GPU resource handles to typed API wrappers to maintain type safety during resource management.
  • Data Encoders and Decoders - Translates complex TypeScript data structures into typed binary formats for efficient CPU-to-GPU transfer.
  • Model Context Protocol Integrations - Implements the Model Context Protocol to expose generated shader code and diagnostics to AI agents.
  • AI-Powered Shader Debugging - Uses the Model Context Protocol to let AI agents inspect generated shader code and diagnose GPU runtime errors.
  • AI Assistant Integrations - Connects AI coding assistants to the development environment to inspect generated shader code.
  • Zero-Copy Buffer Interoperability - Provides a mechanism for sharing typed GPU buffers between libraries without copying data to system memory.

Historique des stars

Graphique de l'historique des stars pour software-mansion/typegpuGraphique de l'historique des stars pour software-mansion/typegpu

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à TypeGPU

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec TypeGPU.
  • gpuweb/gpuwebAvatar de gpuweb

    gpuweb/gpuweb

    5,414Voir sur GitHub↗

    This project provides a comprehensive toolset for WebGPU, serving as a graphics API wrapper, compute shader framework, resource manager, and shader toolchain. It enables browser-based GPU acceleration by offloading memory-intensive tasks and data processing from the CPU to the GPU. The framework manages the full lifecycle of GPU operations, from requesting physical hardware adapters and initializing logical devices to configuring programmable render and compute pipelines. It specifically supports the coordination of parallel workgroups and collective subgroup operations for general-purpose co

    Bikeshedgpgpu-computinggpuw3c
    Voir sur GitHub↗5,414
  • overv/vulkantutorialAvatar de Overv

    Overv/VulkanTutorial

    3,675Voir sur GitHub↗

    VulkanTutorial is a comprehensive educational guide and instructional resource for implementing low-level rendering and compute pipelines using the Vulkan API. It serves as a GPU programming course and a step-by-step guide for building high-performance graphics applications from scratch. The project provides detailed instruction on the full graphics pipeline, including the compilation of shaders to SPIR-V bytecode, the configuration of rasterization states, and the implementation of 3D graphics pipelines. It also covers general-purpose GPU compute programming, focusing on the execution of par

    C++computer-graphicscppgraphics-programming
    Voir sur GitHub↗3,675
  • confettifx/the-forgeAvatar de ConfettiFX

    ConfettiFX/The-Forge

    5,575Voir sur GitHub↗

    The Forge is a low-level toolkit for building high-performance graphics engines and applications across desktop, mobile, and console platforms. It provides a cross-platform engine framework and a dedicated shader compiler that translates a single source into target-specific languages for various graphics APIs and hardware. The project includes a GPU memory and resource manager that utilizes unified root signatures for resource binding, alongside a ray tracing rendering pipeline that implements hardware-accelerated ray and path tracing queries. State management is handled through a high-perfor

    C++
    Voir sur GitHub↗5,575
  • answerdotai/gpu.cppAvatar de AnswerDotAI

    AnswerDotAI/gpu.cpp

    3,981Voir sur GitHub↗

    gpu.cpp is a lightweight C++ library for executing low-level general-purpose GPU computation across different hardware vendors and operating systems. It functions as a portable GPU wrapper, kernel orchestrator, and tensor management system using the WebGPU specification to abstract device initialization, buffer transfers, and compute shader dispatching. The library provides a framework for defining compute kernels from shader code and managing their asynchronous dispatch and synchronization. It enables the execution of cross-platform compute shaders and the orchestration of GPU tasks through

    C++
    Voir sur GitHub↗3,981
Voir les 30 alternatives à TypeGPU→

Questions fréquentes

Que fait software-mansion/typegpu ?

TypeGPU is a tool for type-safe WebGPU development that enables writing shaders in TypeScript. It translates high-level TypeScript function definitions and structures into WebGPU Shading Language source code to automate shader generation and validate logic using a type system.

Quelles sont les fonctionnalités principales de software-mansion/typegpu ?

Les fonctionnalités principales de software-mansion/typegpu sont : Type-Safe Shader Generation, TypeScript-to-WGSL Compilers, GPU Memory Alignment Encoders, GPU Buffer Allocators, User-Defined Types, Schema-Based Binary Formats, Zero-Copy GPU Buffer Interop, Native Type Mappings.

Quelles sont les alternatives open-source à software-mansion/typegpu ?

Les alternatives open-source à software-mansion/typegpu incluent : gpuweb/gpuweb — This project provides a comprehensive toolset for WebGPU, serving as a graphics API wrapper, compute shader framework,… overv/vulkantutorial — VulkanTutorial is a comprehensive educational guide and instructional resource for implementing low-level rendering… answerdotai/gpu.cpp — gpu.cpp is a lightweight C++ library for executing low-level general-purpose GPU computation across different hardware… confettifx/the-forge — The Forge is a low-level toolkit for building high-performance graphics engines and applications across desktop,… nvidia/cuda-python — cuda-python provides low-level Python bindings for the CUDA Driver and Runtime APIs. It serves as a programmatic… trustwallet/assets — This project provides a collection of infrastructure components for multichain wallet integration, including a…