Repository navigation
feat(mesh-layers): add Arrow columns to SimpleMeshLayer - #11046
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
[Medium impact] The PR adds an Arrow-backed path to SimpleMeshLayer and relocates shared column code. The code fixes the earlier transform findings, but the required release note must be added before merging. SummaryAdds Arrow instance positions and colors to
|
Background
SimpleMeshLayer accepts instance attributes through accessors. Arrow columns can supply instance anchors and colors directly while the existing mesh and transform accessors define each instance.
Change List
positionsandcolorstoSimpleMeshLayerLayerColumnsbetween layers and mesh-layersGPUVectorModelVerified with lint, shared column tests, and SimpleMeshLayer browser tests.
Note
Medium Risk
Introduces new shader uniforms and alternate rendering paths for batched Arrow inputs in
SimpleMeshLayer, though traditional accessor pathways remain intact.Overview
Adds support for Apache Arrow table inputs in
SimpleMeshLayervia optionalpositionsandcolorscolumn props, allowing direct binding of Arrow vectors alongside existing mesh geometry and transform accessors. The layer also now supports luma.glGPUVectorGeometrymesh objects.To support mesh rendering with column batches,
_LayerColumnsand_ColumnDefinitionare exported from@deck.gl/coreand enhanced with custom fallback preparation and binary overrides. Additionally,simpleMeshUniformsand vertex shaders (GLSL and WGSL) now incorporate arowIndexOffsetuniform to maintain correct instance picking indices across batched draws.Reviewed by Cursor Bugbot for commit bc1c89f. Bugbot is set up for automated code reviews on this repo. Configure here.