* Execute compute commands from the scene's environment state and computeCommandList * * @param {Scene} scene * * @private
(scene)
| 3071 | * @private |
| 3072 | */ |
| 3073 | function 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 |
no test coverage detected
searching dependent graphs…