MCPcopy
hub / github.com/visgl/deck.gl / setProps

Method setProps

modules/core/src/lib/effect-manager.ts:50–57  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

48 }
49
50 setProps(props) {
51 if ('effects' in props) {
52 // Compare effects against each other shallowly
53 if (!deepEqual(props.effects, this.effects, 1)) {
54 this._setEffects(props.effects);
55 }
56 }
57 }
58
59 needsRedraw(opts = {clearRedrawFlags: false}): false | string {
60 const redraw = this._needsRedraw;

Callers

nothing calls this directly

Calls 2

_setEffectsMethod · 0.95
deepEqualFunction · 0.90

Tested by

no test coverage detected