@aelionsdk/renderer-worker
@aelionsdk/renderer-worker
Section titled “@aelionsdk/renderer-worker”Off-main-thread WebGL2/WebGPU composition and Worker protocol for AelionSDK.
Install
Section titled “Install”npm install @aelionsdk/renderer-workerlatest 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.
Public surface
Section titled “Public surface”- 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.
Classes
Section titled “Classes”Interfaces
Section titled “Interfaces”- AdaptiveBackendSnapshot
- CancelRequest
- ComposeCancelled
- ComposeFailure
- ComposeFrameGraphOptions
- ComposeFrameGraphRequest
- ComposeOptions
- ComposeRequest
- ComposeSuccess
- DisposeRequest
- FontAssetRegistration
- FontManagerSnapshot
- FrameGraphNode
- InspectResourcesRequest
- IrFrameRequest
- IrFrameSource
- RendererWorkerDiagnostic
- RendererWorkerRequestSetSnapshot
- RendererWorkerResourceSnapshot
- RendererWorkerTiming
- RenderIrFrameOptions
- RenderIrFrameRendererOptions
- RenderIrFrameRendererSnapshot
- RenderIrFrameResult
- WorkerCompositorOptions
- WorkerCompositorSnapshot