sampler2d_paint
Functions
- blendFunctionNormal(source, destination, result)
- sampler2d_paint(destination, source, sourceX, sourceY, destinationX, destinationY, width, height, [blendMode])
Assumes both samplers are RGBA uint8 with values 0-255
blendFunctionNormal(source, destination, result)
Kind: global function
Param | Type |
---|---|
source | Array.<number> |
destination | Array.<number> |
result | Array |
sampler2d_paint(destination, source, sourceX, sourceY, destinationX, destinationY, width, height, [blendMode])
Assumes both samplers are RGBA uint8 with values 0-255
Kind: global function
Param | Type |
---|---|
destination | Sampler2D |
source | Sampler2D |
sourceX | number |
sourceY | number |
destinationX | number |
destinationY | number |
width | number |
height | number |
[blendMode] | BlendingType |