AGBatch

constructor(frameBuffer: AGFrameBufferBase, frameBufferInfo: AGFrameBufferInfo, vertexData: AGVertexArrayObject = AGVertexArrayObject(AGVertexData(), isDynamic = true), indices: AGBuffer? = null, indexType: AGIndexType = AGIndexType.USHORT, program: Program = DefaultShaders.PROGRAM_DEBUG, uniformBlocks: UniformBlocksBuffersRef = UniformBlocksBuffersRef.EMPTY, textureUnits: AGTextureUnits = AGTextureUnits.EMPTY, blending: AGBlending = AGBlending.NORMAL, stencilOpFunc: AGStencilOpFunc = AGStencilOpFunc.DEFAULT, stencilRef: AGStencilReference = AGStencilReference.DEFAULT, colorMask: AGColorMask = AGColorMask.DEFAULT, depthAndFrontFace: AGDepthAndFrontFace = AGDepthAndFrontFace.DEFAULT, scissor: AGScissor = AGScissor.NIL, cullFace: AGCullFace = AGCullFace.NONE, drawType: AGDrawType = AGDrawType.TRIANGLES, drawOffset: Int = 0, vertexCount: Int = 0, instances: Int = 1)