Skip to main content

Overview

The @luma.gl/engine module contains higher-level rendering and application framework classes built on top of @luma.gl/core.

Use the engine module when you want luma.gl to manage the common rendering workflow for you: creating pipelines from shaders, binding buffers and textures, handling redraw state, and issuing draw calls through a small set of reusable classes.

Start Here

Remarks

  • The engine classes are built on top of the abstract API in @luma.gl/core and are portable between WebGPU and WebGL backends.
  • If you are coming from older luma.gl docs and are looking for Program, the current v9 API usually maps that workflow to Model for higher-level rendering or RenderPipeline for lower-level pipeline control.
  • If you specifically need legacy Program documentation, use the porting guide and other legacy docs rather than treating it as the primary v9 API surface.
  • If you are coming from older docs looking for Transform, the current v9 engine APIs are BufferTransform, TextureTransform, and Computation, depending on whether you are targeting WebGL transform feedback, texture-based transforms, or WebGPU compute passes.