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