GpuShapeViewCommands
class GpuShapeViewCommands
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ShapeCommand(var drawType: AGDrawType = AGDrawType.LINE_STRIP, var vertexIndex: Int = 0, var vertexEnd: Int = 0, var paintShader: GpuShapeViewPrograms.PaintShader?, var program: Program? = null, var colorMask: AGColorMask = AGColorMask.DEFAULT, var stencilOpFunc: AGStencilOpFunc = AGStencilOpFunc.DEFAULT, var stencilRef: AGStencilReference = AGStencilReference.DEFAULT, var blendMode: BlendMode? = null, var cullFace: AGCullFace = AGCullFace.NONE) : GpuShapeViewCommands.ICommand
Functions
Link copied to clipboard
Link copied to clipboard
fun draw(drawType: AGDrawType, paintShader: GpuShapeViewPrograms.PaintShader?, colorMask: AGColorMask = AGColorMask.DEFAULT, stencilOpFunc: AGStencilOpFunc = AGStencilOpFunc.DEFAULT, stencilRef: AGStencilReference = AGStencilReference.DEFAULT, blendMode: BlendMode = BlendMode.NORMAL, cullFace: AGCullFace = AGCullFace.NONE, startIndex: Int = this.verticesStartIndex, endIndex: Int = this.vertexIndex)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard