Pixijs Html Source

pixijs/pixijs-skills/skills/pixijs-html-source

作者 pixijs83760c6f5346MIT347 个星标收录于 2026年10月8日更新于 2026年10月8日仓库7天前更新

Use this skill when rendering live HTML/DOM elements (or frozen snapshots of them) as PixiJS v8 textures via the EXPERIMENTAL HTML-in-Canvas browser APIs. Covers the pixi.js/html-source import, feature detection with canvas.requestPaint, HTMLSource for a live, repainting, still-interactive element (autoLayout/autoUpdate/autoRequestPaint, requestPaint, isReady, HTMLSource.defaultOptions, the direct-child-of-canvas + layoutsubtree requirement), ElementImageSource for an immutable captureElementImage() snapshot (autoClose, ready immediately), using the source on a Sprite/Texture/Mesh, fallback-only auto-detection via Texture.from at priority -10, uploader error messages, and destroy/cleanup. Triggers on: HTMLSource, ElementImageSource, ElementImage, HTML in canvas, render DOM to texture, render HTML to texture, texElementImage2D, copyElementImageToTexture, HTMLSourceOptions, ElementImageSourceOptions, HTMLSourceCanvas.

  1. 83760c6f5346当前提交 83760c6发布于 2026年10月8日

来源与署名

来源:pixijs/pixijs-skills位于skills/pixijs-html-source提交83760c6

许可证: MIT

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

Pixijs Html Source · skills/pixijs-html-source 智能体技能 | SourceWeft