initAppGfx(gopt: KAPLAYOpt, ggl: GfxCtx): lastDrawCalls: numberggl: 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): voiddefShader: ShaderdefTex: TextureframeBuffer: FrameBufferpostShader: string | nullpostShaderUniform: Uniform | ()=>Uniform | nullrenderer: BatchRenderertransform: Mat4transformStack: Mat4[]bgTex: TexturebgColor: Color | nullbgAlpha: numberwidth: numberheight: numberviewport: x: numbery: numberwidth: numberheight: numberfixed: boolean
ggl: 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