/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import"../../../../core/has.js";import{disposeMaybe as r}from"../../../../core/maybe.js";import{Pos2 as t}from"../lib/DefaultVertexBufferLayouts.js";import{VertexArrayObject as o}from"../lib/VertexArrayObject.js";import{PrimitiveType as e}from"../../../webgl/enums.js";import{VertexBuffer as s}from"../../../webgl/VertexBuffer.js";class i{constructor(r){this._rctx=r,this._vao=a(r)}destroy(){this._vao=r(this._vao)}draw(){null!=this._vao&&(this._rctx.bindVAO(this._vao),this._rctx.drawArrays(e.TRIANGLES,0,3))}get test(){}}function a(r){const e=new Float32Array([-1,-1,3,-1,-1,3]);return new o(r,new s(r,t,e))}export{i as ScreenSpaceGeometry};
