UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

12 lines (9 loc) 292 B
import { NumericIds } from '../core/numeric-ids.js'; /** * Centralized picker ID generator. Provides unique IDs for objects that need * to be identifiable during GPU-based picking operations. * * @type {NumericIds} * @ignore */ const PickerId = new NumericIds(); export { PickerId };