Skip to content

Interface: PickMaterialHandle ​

Experimental

A pick-mode material bound to one drawable. It writes encoded pick ids (see PICK_ENCODE_GLSL) and mirrors the drawable's depth state so occlusion matches the visible frame.

Properties ​

PropertyModifierTypeDescription
materialreadonlyShaderMaterialExperimental

Methods ​

dispose() ​

ts
dispose(): void;

Experimental

Returns ​

void


prepare() ​

ts
prepare(state): void;

Experimental

Sync uniforms/defines/state from the source before a pick pass.

Parameters ​

ParameterType
stateReadonly<PickRenderState>

Returns ​

void

Released under the MIT License.