/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{computeDepthRange as s}from"./DepthRange.js";class t{constructor(s){this._objects=s}destroy(){this._objects=null}submit(s,t){this._objects.preSubmit(t),this._objects.visibleObjects.forAll(e=>e.submit(s,t))}queryDepthRange(t){return this._objects.visibleObjects.length?s(t,this._objects.visibleObjects):null}get hasEmissions(){return this._objects.visibleObjects.some(s=>s.renderable.material.hasEmissions)}hasHighlight(s){return this._objects.hasHighlight(s)}}export{t as RenderSubmitSystem};
