JSPM

  • Created
  • Published
  • Downloads 111
  • Score
    100M100P100Q83976F
  • License MIT

A G plugin implements GPUDevice interface with WebGPU API

Package Exports

  • @antv/g-plugin-webgpu-device
  • @antv/g-plugin-webgpu-device/dist/index.esm.js
  • @antv/g-plugin-webgpu-device/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@antv/g-plugin-webgpu-device) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

g-plugin-webgpu-device

使用 WebGPU 提供 GPUDevice 能力。

目前通过 Open trial token 使用: https://developer.chrome.com/origintrials/#/registration/3817785846614982657

Vertex / Fragment Shader 使用 wgpu naga 生成 wasm,运行时异步加载,将 GLSL 300 转译成 WGSL。 Compute Shader 直接使用 WGSL。