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
| Property | Modifier | Type | Description |
|---|---|---|---|
material | readonly | ShaderMaterial | Experimental |
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
| Parameter | Type |
|---|---|
state | Readonly<PickRenderState> |
Returns
void