Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clear(frameBuffer: AGFrameBufferBase, frameBufferInfo: AGFrameBufferInfo, color: RGBA = Colors.TRANSPARENT, depth: Float = 1.0f, stencil: Int = 0, clearColor: Boolean = true, clearDepth: Boolean = true, clearStencil: Boolean = true, scissor: AGScissor = AGScissor.NIL)
Link copied to clipboard
Link copied to clipboard
open fun draw(frameBuffer: AGFrameBufferBase, frameBufferInfo: AGFrameBufferInfo, vertexData: AGVertexArrayObject, program: Program, drawType: AGDrawType, vertexCount: Int, indices: AGBuffer? = null, indexType: AGIndexType = AGIndexType.USHORT, drawOffset: Int = 0, blending: AGBlending = AGBlending.NORMAL, uniformBlocks: UniformBlocksBuffersRef = UniformBlocksBuffersRef.EMPTY, textureUnits: AGTextureUnits = AGTextureUnits.EMPTY, stencilRef: AGStencilReference = AGStencilReference.DEFAULT, stencilOpFunc: AGStencilOpFunc = AGStencilOpFunc.DEFAULT, colorMask: AGColorMask = AGColorMask.ALL_ENABLED, depthAndFrontFace: AGDepthAndFrontFace = AGDepthAndFrontFace.DEFAULT, scissor: AGScissor = AGScissor.NIL, cullFace: AGCullFace = AGCullFace.NONE, instances: Int = 1)
Link copied to clipboard
fun AG.draw(frameBuffer: AGFrameBuffer, vertexData: AGVertexArrayObject, program: Program, drawType: AGDrawType, vertexCount: Int, indices: AGBuffer? = null, indexType: AGIndexType = AGIndexType.USHORT, drawOffset: Int = 0, blending: AGBlending = AGBlending.NORMAL, uniformBlocks: UniformBlocksBuffersRef = UniformBlocksBuffersRef.EMPTY, textureUnits: AGTextureUnits = AGTextureUnits.EMPTY, stencilRef: AGStencilReference = AGStencilReference.DEFAULT, stencilOpFunc: AGStencilOpFunc = AGStencilOpFunc.DEFAULT, colorMask: AGColorMask = AGColorMask.ALL_ENABLED, depthAndFrontFace: AGDepthAndFrontFace = AGDepthAndFrontFace.DEFAULT, scissor: AGScissor = AGScissor.NIL, cullFace: AGCullFace = AGCullFace.NONE, instances: Int = 1)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun readToMemory(frameBuffer: AGFrameBufferBase, frameBufferInfo: AGFrameBufferInfo, x: Int, y: Int, width: Int, height: Int, data: Any, kind: AGReadKind)
Link copied to clipboard
open fun readToTexture(frameBuffer: AGFrameBufferBase, frameBufferInfo: AGFrameBufferInfo, texture: AGTexture, x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
fun AG.readToTexture(frameBuffer: AGFrameBuffer, texture: AGTexture, x: Int = 0, y: Int = 0, width: Int = frameBuffer.width, height: Int = frameBuffer.height)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard