sampler2d_transfer_data
sampler2d_transfer_data(source, destination)
Allows copying data from one sampler to another with unequal number of channels (a.itemSize !== b.itemSize)
Kind: global function
| Param | Type |
|---|---|
| source | Sampler2D |
| destination | Sampler2D |
Example
convert RGBA to RGB or R to RGB