跳转到内容

@aelionsdk/renderer-worker

此内容尚不支持你的语言。

Off-main-thread WebGL2/WebGPU composition and Worker protocol for AelionSDK.

Terminal window
npm install @aelionsdk/renderer-worker

latest currently resolves to 1.2.0. Applications should create preview surfaces through @aelionsdk/sdk; use this package directly for a custom render host or Worker transport.

  • renderer Worker client and protocol;
  • Render IR compositor;
  • WebGL2/WebGPU backend selection;
  • font management and transferable frame results.

Frame results have explicit ownership. Close bitmaps that are not presented, cancel superseded requests and dispose the Worker client so queued work and GPU resources can drain.

See the architecture guide and API reference. Licensed under MIT.