Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antv/g-plugin-device-renderer

Package Overview
Dependencies
Maintainers
65
Versions
189
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.0.9
  • Source
  • npm
  • Socket score

Version published
Maintainers
65
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

FAQs

Package last updated on 29 May 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc