Overview
Typed, batch-preserving GPU table primitives for rendering, transforms, and compute.
Start Here
- Read the GPU Tables guide for end-to-end attribute and storage workflows.
- Read GPU Table Structure for the logical-column and physical-batch object model.
- Use
GPUTablefor data ownership andGPUTableShaderBindingsfor backend-specific shader resources. - Use
@luma.gl/arrowadapters when source data is Apache Arrow.
API Reference
- GPU Table Structure
- GPU Table Lifecycle
- GPUTable
- GPUConstant
- GPURecordBatch
- GPUVector
- GPUData
- GPUDataView
- GPUSchema
- GPUInputSchema
- GPUTable Shader Bindings
- GPUVectorFormat
- GPUTableBufferPlanner
- Supported Arrow Types
The @luma.gl/tables module owns reusable table-side GPU objects such as
GPUData, GPUDataView, GPUVector, GPUConstant, GPURecordBatch, and
GPUTable, plus structural typing types such as GPUSchema, GPUField,
GPUTypeMap, GPUVectorFormat, GPUDataStructFormat, and VertexList.
Physical struct formats let one GPUData expose named zero-copy child views
over interleaved rows. Models can publish GPUInputSchema declarations for the
prepared table inputs they accept. GPUTableShaderBindings
resolves those declarations into owned, batch-preserving attribute and storage
resources for a shader layout. Table-oriented execution helpers include
TableTransform,
GPUTableComputation, GPUTableBufferPlanner, and generated-buffer batching
utilities. GPUTableModel renders preserved table batches through one model
pipeline, while GPUTableGeometry exposes a packed static table as ordinary GPU
geometry.
Arrow-specific construction and analysis helpers live in @luma.gl/arrow.
Applications that ingest Apache Arrow data should use those adapters to build
the generic GPU table objects exposed here.
Installing
npm install @luma.gl/tables