{"name":"@antv/g-plugin-device-renderer","version":"2.6.2","keywords":["antv","g"],"author":{"name":"https://github.com/orgs/antvis/people"},"license":"MIT","_id":"@antv/g-plugin-device-renderer@2.6.2","maintainers":[{"name":"lvisei","email":"yunji.me@outlook.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"jinke.li","email":"jinke.li666@gmail.com"},{"name":"lzxue","email":"120635640@qq.com"},{"name":"army8735","email":"army8735@qq.com"},{"name":"dengfuping","email":"dengfuping_private@163.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"chenluli","email":"chenluuli@gmail.com"},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"bbsqq","email":"1491812683@qq.com"},{"name":"banxuan","email":"zhuyuxin0627@gmail.com"},{"name":"yanxiong","email":"ojh496845051@gmail.com"},{"name":"atool","email":"wzwahl36@qq.com"},{"name":"pearl_wang","email":"610999886@qq.com"},{"name":"interstellarmt","email":"787982239@qq.com"},{"name":"alex_zjt","email":"alex_zjt@163.com"},{"name":"duxinyue023","email":"duxinyue.dxy@antgroup.com"},{"name":"wang1212","email":"mrwang1212@126.com"},{"name":"gaofuhong","email":"gaofh1023@163.com"}],"homepage":"https://github.com/antvis/g#readme","bugs":{"url":"https://github.com/antvis/g/issues"},"dist":{"shasum":"f50bf4cbda79135858640ec57926f18a00a9fea7","tarball":"http://registry-npm.ywwl.com/@antv/g-plugin-device-renderer/download/@antv/g-plugin-device-renderer-2.6.2.tgz","fileCount":155,"integrity":"sha512-V/tHAPfdo1urgQISXPFM6UE91aPBqWe5A8nMXxP7oLJAGmu31ssxciIGbKNh6B7bmnHYsB0JiOQRaPKD8xkrNg==","signatures":[{"sig":"MEYCIQCwx0a0uCpvIUIc+2IfOZOzArtgFv6m3lqFsafviWFh5QIhAL3vQyVR9wtnaZ4rBz2eh5GSohWF/fSJH1k9hg2aU/Hs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICzCSWxhkjrSNsjdVLm6h7B3wtsRk4Jl1bx/67l5LqkuAiEAxq4JBKT98XzCWCCMPCdJ9yXjj/nkAFNqL8lIRzDc1Rw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4018926,"size":885474,"noattachment":false,"key":"/@antv/g-plugin-device-renderer/-/@antv/g-plugin-device-renderer-2.6.2.tgz"},"main":"dist/index.js","_from":"file:antv-g-plugin-device-renderer-2.6.2.tgz","types":"types/index.d.ts","unpkg":"dist/index.umd.min.js","module":"dist/index.esm.js","exports":{"types":"./types/index.d.ts","import":"./dist/index.esm.js","default":"./dist/index.js"},"glslify":{"transform":["glslify-import"]},"scripts":{"sync":"tnpm sync","build":"npm run build:js && npm run build:types","watch":"rollup -c -w","build:js":"rimraf dist && rollup -c","build:types":"rimraf types && tsc --emitDeclarationOnly --noCheck"},"_npmUser":{"name":"wang1212","email":"mrwang1212@126.com"},"_resolved":"/tmp/4be82fcddef65dfe52aee152c81fce3f/antv-g-plugin-device-renderer-2.6.2.tgz","_integrity":"sha512-V/tHAPfdo1urgQISXPFM6UE91aPBqWe5A8nMXxP7oLJAGmu31ssxciIGbKNh6B7bmnHYsB0JiOQRaPKD8xkrNg==","repository":{"url":"git+https://github.com/antvis/g.git","type":"git"},"_npmVersion":"10.8.2","description":"A G plugin of renderer implementation with GPUDevice","directories":{},"_nodeVersion":"20.20.2","dependencies":{"tslib":"^2.5.3","earcut":"^2.2.3","gl-matrix":"^3.4.3","@antv/util":"^3.3.5","@antv/g-lite":"2.7.1","@antv/g-math":"3.1.0","@webgpu/types":"^0.1.6","eventemitter3":"^5.0.1","@babel/runtime":"^7.25.6","@antv/g-device-api":"^1.6.10","@antv/g-shader-components":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/webxr":"0.5.5","@types/earcut":"^2.1.1","glslify-import":"3.1.0","@rollup/plugin-wasm":"^5.1.2","rollup-plugin-glslify":"^1.2.1","@types/offscreencanvas":"^2019.6.4"},"_npmOperationalInternal":{"tmp":"tmp/g-plugin-device-renderer_2.6.2_1791625792332_0.12698160379382473","host":"s3://npm-registry-packages-npm-production"},"readme":"# @antv/g-plugin-device-renderer\n\n- `/platform` HAL 硬件适配层\n- `/render` 实现 FrameGraph\n- `/geometries` 提供基础几何定义\n- `/materials` 提供基础材质\n- `/meshes` 提供内置 2D 图形所需 Mesh\n\n## 扩展点\n\n### DeviceContribution\n\n```js\nimport { DeviceContribution } from '@antv/g-plugin-device-renderer';\n\n@singleton({\n    token: DeviceContribution,\n})\nexport class WebGLDeviceContribution implements DeviceContribution {\n    async createSwapChain($canvas: HTMLCanvasElement) {\n        // 创建基于 WebGL 的 Device\n    }\n}\n```\n","publish_time":1791625792468,"_cnpm_publish_time":1791625792468,"dist-tags":{"alpha":"2.0.18-alpha.0","beta":"2.3.4-beta.0","latest":"2.6.3","next":"2.0.17"}}