AGBlending

inline class AGBlending(val data: Int)

color(RGB) = (sourceColor * srcRGB) + (destinationColor * dstRGB) color(A) = (sourceAlpha * srcA) + (destinationAlpha * dstA)

Instead of + eqRGB and eqA determines the operation to use (+, - or reversed -)

Constructors

Link copied to clipboard
constructor(data: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val data: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun apply(src: RGBA, dst: RGBA): RGBA
fun apply(src: RGBAf, dst: RGBAf, out: RGBAf = RGBAf()): RGBAf
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard