Carves an alpha-mask "stamp" into the bitmap. The source is positioned
with its top-left at (dstX, dstY); every source pixel whose alpha
channel is at or above threshold causes the corresponding bitmap
cell to be set to air.
The Phaser integration layer extracts an ImageData from a texture
(via canvas / DynamicTexture) and forwards it here. Core never imports
a DOM type — AlphaSource is structural so any RGBA buffer works.
Carves an alpha-mask "stamp" into the bitmap. The source is positioned with its top-left at
(dstX, dstY); every source pixel whose alpha channel is at or abovethresholdcauses the corresponding bitmap cell to be set to air.The Phaser integration layer extracts an
ImageDatafrom a texture (via canvas / DynamicTexture) and forwards it here. Core never imports a DOM type —AlphaSourceis structural so any RGBA buffer works.