MCPcopy
hub / github.com/CesiumGS/cesium / set

Method set

packages/engine/Source/Renderer/createUniform.js:332–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 }
331
332 set() {
333 const v = this.value;
334 if (!Cartesian2.equals(v, this._value)) {
335 Cartesian2.clone(v, this._value);
336 this._gl.uniform2i(this._location, v.x, v.y);
337 }
338 }
339}
340
341///////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected