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

Method set

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

Source from the content-addressed store, hash-verified

398 }
399
400 set() {
401 const v = this.value;
402 if (!Cartesian4.equals(v, this._value)) {
403 Cartesian4.clone(v, this._value);
404 this._gl.uniform4i(this._location, v.x, v.y, v.z, v.w);
405 }
406 }
407}
408
409///////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected