@antv/g-plugin-gpgpu
v1.9.20
Published
A G plugin for GPGPU based on WebGPU
Downloads
565
Maintainers
Readme
@antv/g-plugin-gpgpu
Provide GPGPU capabilities based on WebGPU.
Getting Started
import { Canvas, CanvasEvent } from '@antv/g';
import { Renderer, DeviceRenderer } from '@antv/g-webgpu';
import { Plugin, Kernel } from '@antv/g-plugin-gpgpu';
const { BufferUsage } = DeviceRenderer;
const renderer = new Renderer();
renderer.registerPlugin(new Plugin());