Skip to main content

@luma.gl/engine/text/experimental

Use this entry point to integrate a custom renderer or benchmark a specific text rendering strategy.

  • TextAttributeModel, TextStorageModel, TextRowIndexedStorageModel, and TextDictionaryModel expose individual rendering strategies. getTextRendererModel gives adapters access to the model selected by TextRenderer.
  • GPU data and compute helpers prepare glyph buffers, expand UTF-8 or dictionary-encoded text, and dispatch expansion on the GPU.
  • Input schemas, batch accessors, vertex layouts, and GLSL/WGSL shader helpers support custom draw and picking passes.

For ordinary text rendering, use TextRenderer from @luma.gl/engine/text/2d.

See the package reference for related APIs.