Batch
Author
Colton Daily
Types
Functions
Link copied to clipboard
abstract fun draw(texture: Texture, spriteVertices: FloatArray, offset: Int = 0, count: Int = spriteVertices.size)
open fun draw(texture: Texture, x: Float, y: Float, originX: Float = 0.0f, originY: Float = 0.0f, width: Float = texture.width.toFloat(), height: Float = texture.height.toFloat(), scaleX: Float = 1.0f, scaleY: Float = 1.0f, rotation: Angle = Angle.ZERO, colorBits: Float = this.colorBits, flipX: Boolean = false, flipY: Boolean = false)
abstract fun draw(slice: TextureSlice, x: Float, y: Float, originX: Float = 0.0f, originY: Float = 0.0f, width: Float = slice.width.toFloat(), height: Float = slice.height.toFloat(), scaleX: Float = 1.0f, scaleY: Float = 1.0f, rotation: Angle = Angle.ZERO, colorBits: Float = this.colorBits, flipX: Boolean = false, flipY: Boolean = false)
abstract fun draw(texture: Texture, x: Float, y: Float, originX: Float = 0.0f, originY: Float = 0.0f, width: Float = texture.width.toFloat(), height: Float = texture.height.toFloat(), scaleX: Float = 1.0f, scaleY: Float = 1.0f, rotation: Angle = Angle.ZERO, srcX: Int = 0, srcY: Int = 0, srcWidth: Int = texture.width, srcHeight: Int = texture.height, colorBits: Float = this.colorBits, flipX: Boolean = false, flipY: Boolean = false)
abstract fun draw(slice: TextureSlice, x: Float, y: Float, originX: Float = 0.0f, originY: Float = 0.0f, width: Float = slice.width.toFloat(), height: Float = slice.height.toFloat(), scaleX: Float = 1.0f, scaleY: Float = 1.0f, rotation: Angle = Angle.ZERO, colorBits: Float = this.colorBits, srcX: Int = slice.x, srcY: Int = slice.y, srcWidth: Int = slice.width, srcHeight: Int = slice.height, flipX: Boolean = false, flipY: Boolean = false)
Link copied to clipboard
Link copied to clipboard
abstract fun setBlendFunctionSeparate(srcFuncColor: BlendFactor, dstFuncColor: BlendFactor, srcFuncAlpha: BlendFactor, dstFuncAlpha: BlendFactor)
Link copied to clipboard
Link copied to clipboard