• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

visgl / luma.gl / 27048947509

06 Jun 2026 01:36AM UTC coverage: 69.719% (-0.8%) from 70.51%
27048947509

Pull #2669

github

web-flow
Merge ec614bc63 into 70f8e2f4b
Pull Request #2669: chore(arrow): Improve split between GPUTables and Arrow tables

8935 of 14516 branches covered (61.55%)

Branch coverage included in aggregate %.

384 of 861 new or added lines in 31 files covered. (44.6%)

1 existing line in 1 file now uncovered.

18524 of 24869 relevant lines covered (74.49%)

4270.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/modules/engine/src/modules/picking/picking.ts
1
// luma.gl
2
// SPDX-License-Identifier: MIT
3
// Copyright (c) vis.gl contributors
4

5
import type {ShaderModule} from '@luma.gl/shadertools';
6
import type {Device} from '@luma.gl/core';
7

8
import type {PickingBindings, PickingProps, PickingUniforms} from './picking-uniforms';
9
import {pickingUniforms} from './picking-uniforms';
10
import {picking as colorPicking} from './color-picking';
11
import {picking as indexColorPicking} from './index-color-picking';
12
import {picking as indexPicking} from './index-picking';
13
import {supportsIndexPicking} from './picking-manager';
14

15
/**
16
 * Unified object-picking shader module.
17
 * Uses color picking on GLSL/WebGL paths and index picking on WGSL/WebGPU paths.
18
 */
19
export const picking = {
116✔
20
  ...pickingUniforms,
21
  name: 'picking',
22
  source: indexPicking.source,
23
  vs: colorPicking.vs,
24
  fs: colorPicking.fs
25
} as const satisfies ShaderModule<PickingProps, PickingUniforms, PickingBindings>;
26

27
/** Returns the object-index picking shader module supported by this device. */
28
export function getIndexPickingModule(device: Device): typeof indexPicking {
NEW
29
  return (supportsIndexPicking(device) ? indexPicking : indexColorPicking) as typeof indexPicking;
×
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc