Skip to content

Interface: PickRenderState ​

Experimental

Per-pick state handed to pick materials before the pick pass renders.

Properties ​

PropertyTypeDescription
basenumberExperimental First pick id of this draw's range; the shader writes base + element.
pixelRationumberExperimental
windowHeightnumberExperimental
windowWidthnumberExperimental The pick window's size in the view's CSS px. Screen-space sized primitives (markers) must use it as their resolution so their pixel sizes match the visible frame.

Released under the MIT License.