@antv/g-plugin-device-renderer
TypeScript icon, indicating that this package has built-in type declarations

2.0.8 • Public • Published

@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
    }
}

Readme

Keywords

Package Sidebar

Install

npm i @antv/g-plugin-device-renderer

Weekly Downloads

999

Version

2.0.8

License

MIT

Unpacked Size

2.73 MB

Total Files

82

Last publish

Collaborators

  • xuying1027
  • lvisei
  • yisi.wang
  • basketduck
  • biupiubiupiu
  • flash1
  • dreammy23
  • laixingui.lxg
  • zhangjunjie-loki
  • rainy25ghz
  • zeyuwang
  • yanxiong
  • susiwen8
  • freestyle21
  • soundquiet
  • elaine.q.10
  • sturuby
  • sakuya223
  • serializedowen
  • xdzhao
  • yangzhanmei
  • wjgogogo
  • leungwensen
  • dori
  • iaaron
  • yard
  • simaq
  • dxq613
  • intchous
  • susan_ann
  • jinke.li
  • lzxue
  • army8735
  • atool
  • baizn
  • dengfuping
  • neoddish
  • jeffy2012
  • zqlu
  • afc163
  • pomelo-nwu
  • kopiluwaky
  • ccnuzindex
  • panyuqi
  • bubkoo
  • zengyue
  • kasmine
  • boyu.zlj
  • l1ud0ngq1
  • newbyvector
  • winniexing
  • chenluli
  • kn9117
  • xdddst
  • semious2020
  • esora
  • nadia_liu
  • bbsqq
  • mxz96102
  • openwayne
  • pearmini
  • pddpd
  • yiqianyao
  • zhanba
  • cxxxxxn