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

Function executeComputeCommands

packages/engine/Source/Scene/Scene.js:3073–3085  ·  view source on GitHub ↗

* Execute compute commands from the scene's environment state and computeCommandList * * @param {Scene} scene * * @private

(scene)

Source from the content-addressed store, hash-verified

3071 * @private
3072 */
3073function executeComputeCommands(scene) {
3074 scene.context.uniformState.updatePass(Pass.COMPUTE);
3075
3076 const sunComputeCommand = scene._environmentState.sunComputeCommand;
3077 if (defined(sunComputeCommand)) {
3078 sunComputeCommand.execute(scene._computeEngine);
3079 }
3080
3081 const commandList = scene._computeCommandList;
3082 for (let i = 0; i < commandList.length; ++i) {
3083 commandList[i].execute(scene._computeEngine);
3084 }
3085}
3086
3087/**
3088 * Execute the draw commands for overlays

Callers 2

executeWebVRCommandsFunction · 0.85

Calls 2

definedFunction · 0.50
executeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…