Updates selected state members and marks the composite layer to need rerender
(updateObject: any)
| 48 | |
| 49 | /** Updates selected state members and marks the composite layer to need rerender */ |
| 50 | setState(updateObject: any): void { |
| 51 | super.setState(updateObject); |
| 52 | // Trigger a layer update |
| 53 | // Although conceptually layer.draw and compositeLayer.renderLayers are equivalent, |
| 54 | // they are executed during different lifecycles. |
| 55 | // draw can be called without calling updateState (e.g. most viewport changes), |
| 56 | // while renderLayers can only be called during a recursive layer update. |
| 57 | this.setNeedsUpdate(); |
| 58 | } |
| 59 | |
| 60 | /** called to augment the info object that is bubbled up from a sublayer |
| 61 | override Layer.getPickingInfo() because decoding / setting uniform do |
nothing calls this directly
no test coverage detected
searching dependent graphs…