G
G copied to clipboard
💥 A flexible rendering engine for visualization.
This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of...
按照 Limits 规定 https://www.w3.org/TR/webgpu/#limits `maxVertexBuffers` 为 8。 超出会报错: ``` Vertex buffer count (12) exceeds the maximum number of vertex buffers (8). - While validating vertex state. - While calling [Device].CreateRenderPipeline([RenderPipelineDescriptor])....
静态属性肯定可以序列化,但比如绑定的事件监听器,父子间的互相引用就无法实现。 Three.js 中使用 `toJSON`: https://threejs.org/docs/#api/core/Object3D.toJSON
This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of...
对于不支持的特性例如 Proxy 需要用户自行引入 polyfill
与antv/l7一起使用,会报错 Cannot apply @injectable decorator multiple times.
@antv/g-webgp
目前支持使用空格隔开多个类名,随后使用 [classList](/zh/docs/api/builtin-objects/element#classlist) 只读属性获取类名列表: ```js circle.className = 'c1 c2'; circle.classList; // ['c1', 'c2'] ``` 完整 classList API 对于类名的操作能力更便捷,对于其他已有生态例如 D3 也能更好兼容。 https://developer.mozilla.org/zh-CN/docs/Web/API/Element/classList ```js // 如果 visible 类值已存在,则移除它,否则添加它 div.classList.toggle("visible"); // add/remove visible, depending...