initGfx(gl: WebGLRenderingContext, opts?: texFilter?: TexFilter): gl: WebGLRenderingContextopts: texFilter?: TexFilteronDestroy(action: ()=>unknown): voiddestroy(): voidpushTexture2D(item: WebGLTexture): voidpopTexture2D(): voidpushArrayBuffer(item: WebGLBuffer): voidpopArrayBuffer(): voidpushElementArrayBuffer(item: WebGLBuffer): voidpopElementArrayBuffer(): voidpushFramebuffer(item: WebGLFramebuffer): voidpopFramebuffer(): voidpushRenderbuffer(item: WebGLRenderbuffer): voidpopRenderbuffer(): voidpushViewport(item: x: numbery: numberw: numberh: number): voidpopViewport(): voidpushProgram(item: WebGLProgram): voidpopProgram(): voidsetVertexFormat(fmt: VertexFormat): void