Skip to main content

Overview

luma.gl combines published, composable npm modules with experimental packages under active development. Applications can choose the rendering, compute, and visualization functionality they need while checking the maturity of each package.

Use the API reference when you want the class-by-class reference pages for a specific module. If you are looking for conceptual guides or an introduction to how the pieces fit together, start in the API Guide and then come back here for the detailed type and method docs.

If you are looking for Model, start with @luma.gl/engine. The Model class lives in the engine module and is one of the main entry points for rendering in luma.gl.

ModuleUsageDescription
@luma.gl/coreRequiredThe "Abstract" Device API (implemented by both the webgpu and webgl modules).
@luma.gl/webglRequired *Device adapter implemented using the WebGL API. Enables creation of WebGL resources.
@luma.gl/webgpuRequired *Device adapter implemented using the WebGPU API. Enables creation of WebGPU resources.
@luma.gl/engineRecommendedA set of WebGPU/WebGL independent core 3D engine style classes built on top of @luma.gl/core.
@luma.gl/sceneExperimentalANARI-inspired retained scene objects, instanced rendering, lights, materials, and HDR.
@luma.gl/shadertoolsRecommendedReusable shader modules, portable shader assembly, and application-defined shader hooks.
@luma.gl/effectsOptionalComposable post-processing effects, screen-space lighting, and reusable shader-pass pipelines.
@luma.gl/gpgpuOptionalPortable GPU evaluation plus the experimental gpu-data subpath.
@luma.gl/textExperimentalTextRenderer facade and caller-owned GPU text data.
@luma.gl/splatsExperimentalGaussian splat rendering and caller-owned prepared GPU splat data.
@luma.gl/experimentalExperimentalIncubating APIs, including gpu-tables, rendering models, WebXR, and GPU analytics.
@luma.gl/gltfOptionalStandards-first glTF assets, physical materials, character animation, and lossless interchange.
@luma.gl/test-utilsOptionalTest setups, in particular support for rendering and comparing images.

* At least one backend, either WebGL or WebGPU, must be installed to enable GPU resource creation.

Start Here