New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@antv/g-plugin-device-renderer

Package Overview
Dependencies
Maintainers
0
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-plugin-device-renderer

A G plugin of renderer implementation with GPUDevice

2.2.19
latest
Source
npm
Version published
Weekly downloads
926
-20.85%
Maintainers
0
Weekly downloads
 
Created
Source

@antv/g-plugin-device-renderer

  • /platform HAL 硬件适配层
  • /render 实现 FrameGraph
  • /geometries 提供基础几何定义
  • /materials 提供基础材质
  • /meshes 提供内置 2D 图形所需 Mesh

扩展点

DeviceContribution

import { DeviceContribution } from '@antv/g-plugin-device-renderer';

@singleton({
    token: DeviceContribution,
})
export class WebGLDeviceContribution implements DeviceContribution {
    async createSwapChain($canvas: HTMLCanvasElement) {
        // 创建基于 WebGL 的 Device
    }
}

Keywords

antv

FAQs

Package last updated on 27 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts