A variation of gl-select which is designed for non-animated scenes
npm install gl-select-static
var createSelectBuffer =
var select = createSelectBuffer(gl, shape)
Creates a select buffer with the given shape
Begins a selection rendering pass.
Finishes the selection pass.
Queries the selection buffer for all points within radius.
xis the x coordinate of the query point
yis the y coordinate of the query point
radiusis the radius of the selection
Returns A SelectResult with the same contents as in gl-select
Destroys the selection buffer and releases all associated resources
Updates or retrieves the shape of the selection buffer.
(c) 2014 Mikola Lysenko. MIT License